Override capitalization on .Title

Hi, I’m using Hugo for a Spanish-speaking site, and the current capitalizations for the articles’ titles don’t match with the rules for Spanish. Is there a simple way to override it and preserve the original one?

How are you setting titles currently? Generally speaking, the title is exactly same (even case) as what on enters in the front matter.

Hugo typically follows a function for Titles which can look strange - but you can customise it

see this article and section on Titles

Also have a look at


You’re right, I found it’s actually my theme that was making the capitalization and not Hugo. Thanks for the help.

1 Like