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
Do not FirstUpper Taxonomy titles #5172
Comments
No, there are already too many options. So any fix to this must be "optionless". |
Can't disagree with that. I'll try to find a way to solve this without breaking anything for people who rely on the current behavior. |
@Schnouki I think the Thoughts @kaushalmodi @regisphilibert and gang? |
@Schnouki By taxonomy labels, you mean titles? If so, I agree that Hugo should not force FirstUpper. A user can do so if they wish in their layouts... (or am I missing something?). I think I'll be fine with this FirstUpper removed. |
They can. I agree that this should be removed. |
Also, turns out that I haven't set preserveTaxonomyNames, so I'm already enjoying the taxonony titles not getting forced to FirstUpper :). So yeah, removing that makes sense. |
Doing so was probably a mistake. This may be a breaking change for some people, but it's easy to restore the previous behaviour in the layouts. Fixes gohugoio#5172
Doing so was probably a mistake. This may be a breaking change for some people, but it's easy to restore the previous behaviour in the layouts. Fixes #5172
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. |
Hi,
I'm trying to use tags that are fully lowercase. But even with
preserveTaxonomyNames
, they are "victims" ofhelper.FirstUpper()
inhugo/hugolib/site.go
Line 1836 in 94d0e79
I'm aware of #1880 and #3070, but this is still annoying for me. Would it be possible to add another option to prevent
helper.FirstUpper()
from being called?preserveTaxonomyCase
maybe?The text was updated successfully, but these errors were encountered: