Support non-md files as archetype files
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 20 Jun 2017 10:46:03 +0000 (12:46 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 20 Jun 2017 11:41:48 +0000 (13:41 +0200)
commit19f2e729135af700c5d4aa06e7b3540e6d4847fd
tree6f6b26222306c66b78bfa032de8d3e4bfce05f68
parent0f40e1fadfca2276f65adefa6d7d5d63aef9160a
Support non-md files as archetype files

It now properly uses the extension of the target file to determine archetype file.

Fixes #3597
Fixes #3618
create/content.go
create/content_test.go
helpers/path.go