-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
Disable title capitalization #368
Comments
@McPringle just to confirm, you want to disable the capitalization of titles in the post list, right? I had to make this change too and found that this temporary workaround helped:
.archive__list-title {
text-transform: none;
}
customCss = ["css/list-title.css"] While this works it would be great if we could turn off capitalization in the configuration. |
Sorry, no, I want to disable it on the single page, not in the lists. |
@McPringle Would you mind opening a PR with the proposed change? I agree with your suggestions. Especially in German capitalization matters. |
Next week we are doing a Hackergarten in Lucerne and I'll suggest this issue as a topic. |
@McPringle Were you able to work on it as part of your hackathon? |
I just realized what @McPringle meant by the capitalization problem and once I noticed it I really wish we could turn it off, as it mangles some of my blog post titles. @lxndrblz could we make it an option to disable title capitalization in single pages? |
Unfortunately, this issue was not picked up at the Hackergarten. But winter is coming with more evenings at home... ;-) |
Users can set disableTitleCapitalization to true in order to, well, disable title capitalization. Fixes lxndrblz#368
@lxndrblz @McPringle just drafted a rough commit that adds a configuration option for single page titles. I was also thinking about having the config option change the archive (list) title capitalization as well since I'd like to turn that off too but I realized that one is in all caps, so it's more of a stylistic choice? So either: a) change the configuration option name to |
Fantastic! For me variant b) would be enough, but variant a) would be fine, too. :-) |
Thank you very much, the new config options work on my updated blog like a charm! |
Is your feature request related to a problem? Please describe.
In some languages using capitalization of titles looks awesome because they have strict rules and capitalization is not a style, but a meaning (e.g. capitalized words are nouns).
Describe the solution you'd like
Please don't use the "title" processor in the template file. Use CSS instead. That makes it much easier to change the capitalization as wanted:
As a user of your theme I will now be able to override the CSS style to disable capitalization if I need to:
Describe alternatives you've considered
I can provide my own
single.html
file. But when I do it, I have to monitor your changes in yoursingle.html
and merge them with my modifications. I prefer to use the CSS solution instead.Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: