Skip to content
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 · 1 comment · Fixed by #3619
Closed

Support default.html archetypes #3597

bananatranada opened this issue Jun 15, 2017 · 1 comment · Fixed by #3619
Labels

Comments

@bananatranada
Copy link

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
It now properly uses the extension of the target file to determine archetype file.

Fixes gohugoio#3597
Fixes gohugoio#3618
@bep bep closed this as completed in #3619 Jun 20, 2017
bep added a commit that referenced this issue Jun 20, 2017
It now properly uses the extension of the target file to determine archetype file.

Fixes #3597
Fixes #3618
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant