diff options
Diffstat (limited to 'content/en/methods/site/Title.md')
-rw-r--r-- | content/en/methods/site/Title.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/content/en/methods/site/Title.md b/content/en/methods/site/Title.md new file mode 100644 index 000000000..a357286c1 --- /dev/null +++ b/content/en/methods/site/Title.md @@ -0,0 +1,22 @@ +--- +title: Title +description: Returns the title as defined in the site configuration. +categories: [] +keywords: [] +action: + related: [] + returnType: string + signatures: [SITE.Title] +--- + +Site configuration: + +{{< code-toggle file=hugo >}} +title = 'My Documentation Site' +{{< /code-toggle >}} + +Template: + +```go-html-template +{{ .Site.Title }} → My Documentation Site +``` |