New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support default.html archetypes #3597

Closed
bananatranada opened this Issue Jun 15, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@bananatranada

bananatranada commented Jun 15, 2017

hugo/create/content.go

Lines 167 to 169 in 873a6f1

pathsToCheck = []string{"default.md", "default"}
} else {
pathsToCheck = []string{kind + ".md", kind, "default.md", "default"}

This isn't a biggie, but I'm using hugo to build landing pages and so html is preferred. Again, not a big deal, but I don't get the html syntax highlighting for the scaffold.

Is there a reason why default.html isn't supported?

Thanks

bep added a commit to bep/hugo that referenced this issue Jun 20, 2017

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

@bep bep closed this in #3619 Jun 20, 2017

bep added a commit that referenced this issue Jun 20, 2017

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment