Hugo

Modify section name without modify section folder name

Hello !
My folder content is named “team”
How can i do to renamed my section to “L’équipe” without modify my folder name ? I’ve tried to rename “section: L’équipe” in my front-matter but it doesn’t work.
When i call .Section, it return team.
Thank you :slight_smile:

You can set type in front matter. Note that you then need to use .Type in your templates. This will return .Section if type not set. I would also recommend looking into the cascade keyword.

Ok it solved my problem, thanks you :slight_smile: