Title
Syntax
PAGE.Title
Returns
string
With pages backed by a file, the Title method returns the title field as defined in front matter:
content/about.md
---
title: About us
---+++
title = 'About us'
+++{
"title": "About us"
}
{{ .Title }} → About us
With section pages not backed by a file, the Title method returns the section name, pluralized and converted to title case.
To disable pluralization:
hugo.
pluralizeListTitles: false
pluralizeListTitles = false
{
"pluralizeListTitles": false
}
To change the title case style, specify one of ap, chicago, go, firstupper, or none:
hugo.
titleCaseStyle: ap
titleCaseStyle = 'ap'
{
"titleCaseStyle": "ap"
}