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

camelCased templates (partials, shortcodes etc.) not found #3333

Closed
robsonsobral opened this issue Apr 12, 2017 · 2 comments · Fixed by #3335
Closed

camelCased templates (partials, shortcodes etc.) not found #3333

robsonsobral opened this issue Apr 12, 2017 · 2 comments · Fixed by #3335

Comments

@robsonsobral
Copy link

Hi!

I reported it on forum as a call for help, but then realized what really happened and I edited it. As I think this is a serious bug, I'm reporting it here, as the guidelines say.

I'm running Hugo 0.20.0 on MacOS and the partials can't be found if camelCased:

ERROR 2017/04/12 14:10:33 Error while rendering "page": template: pages/plans.html:9:7: executing "pages/plans.html" at <partial "microtempla...>: error calling partial: Partial "microtemplates/plansForm.html" not found
ERROR 2017/04/12 14:10:33 Error while rendering "page": template: pages/account.html:9:7: executing "pages/account.html" at <partial "microtempla...>: error calling partial: Partial "microtemplates/accountForm.html" not found
ERROR 2017/04/12 14:10:33 Error while rendering "section": template: indexes/dashboard.html:71:9: executing "indexes/dashboard.html" at <partial "microtempla...>: error calling partial: Partial "microtemplates/groupTrack.html"

Thank you all.

@digitalcraftsman
Copy link
Member

Another user (@kishaningithub) reported the same problem in gohugoio/hugoThemes#238.

@bep bep added the Bug label Apr 12, 2017
@bep bep added this to the v0.20.1 milestone Apr 12, 2017
bep added a commit to bep/hugo that referenced this issue Apr 12, 2017
This regression was introduced in Hugo 0.20.

Fixes gohugoio#3333
@bep bep closed this as completed in #3335 Apr 12, 2017
bep added a commit that referenced this issue Apr 12, 2017
This regression was introduced in Hugo 0.20.

Fixes #3333
@bep bep changed the title camelCased partials can't be found camelCased templates not found Apr 13, 2017
@bep bep changed the title camelCased templates not found camelCased templates (partials, shortcodes etc.) not found Apr 13, 2017
@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 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants