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 · 1 comment

Comments

Projects
None yet
3 participants
@robsonsobral

robsonsobral commented Apr 12, 2017

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

This comment has been minimized.

Show comment
Hide comment
@digitalcraftsman

digitalcraftsman Apr 12, 2017

Member

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

Member

digitalcraftsman commented Apr 12, 2017

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

hugolib, output: Do not lower case template names
This regression was introduced in Hugo 0.20.

Fixes #3333

@bep bep closed this in #3335 Apr 12, 2017

bep added a commit that referenced this issue Apr 12, 2017

hugolib, output: Do not lower case template names
This regression was introduced in Hugo 0.20.

Fixes #3333

@bep bep changed the title from camelCased partials can't be found to camelCased templates not found Apr 13, 2017

@bep bep changed the title from camelCased templates not found to camelCased templates (partials, shortcodes etc.) not found Apr 13, 2017

@ghost ghost referenced this issue May 22, 2017

Open

spf13/hugo v0.21 released #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment