mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'
This commit is contained in:
@@ -3,11 +3,10 @@ title: Title
|
||||
description: Returns the title of the given page.
|
||||
categories: []
|
||||
keywords: []
|
||||
action:
|
||||
related:
|
||||
- methods/page/LinkTitle
|
||||
returnType: string
|
||||
signatures: [PAGE.Title]
|
||||
params:
|
||||
functions_and_methods:
|
||||
returnType: string
|
||||
signatures: [PAGE.Title]
|
||||
---
|
||||
|
||||
With pages backed by a file, the `Title` method returns the `title` field as defined in front matter:
|
||||
@@ -35,6 +34,6 @@ titleCaseStyle = "firstupper"
|
||||
|
||||
See [details].
|
||||
|
||||
[`capitalizeListTitles`]: /getting-started/configuration/#capitalizelisttitles
|
||||
[`pluralizeListTitles`]: /getting-started/configuration/#pluralizelisttitles
|
||||
[details]: /getting-started/configuration/#configure-title-case
|
||||
[`capitalizeListTitles`]: /configuration/all/#capitalizelisttitles
|
||||
[`pluralizeListTitles`]: /configuration/all/#pluralizelisttitles
|
||||
[details]: /configuration/all/#title-case-style
|
||||
|
Reference in New Issue
Block a user