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

Disable Title Capitalization on Front Page #516

Open
mrimann opened this issue Aug 22, 2024 · 0 comments
Open

Disable Title Capitalization on Front Page #516

mrimann opened this issue Aug 22, 2024 · 0 comments

Comments

@mrimann
Copy link

mrimann commented Aug 22, 2024

This is a follow-up to #368 where the capitalization was made configurable for parts of the output.

I hoped for getting "Title Foo Bar" instead of "TITLE FOO BAR" for the index / front page of my blog. But even with v1.15.0 and the above mentioned change, that's not possible.

As far as I see, its still hard-coded to upper-case the Title-String and the resulting Output is indeed <h3>TITLE</h3> (not transformed via CSS). The line that does the upper-casing is

<h3><a href="{{ .RelPermalink }}">{{ upper .Title }}</a></h3>

Suggested change:

  • make this server-side uppercasing configurable so one can disable it if wanted (similar to the parts where this was changed already)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant