hugo/docs/content/en/methods/site/Title.md
2023-12-04 15:24:01 +01:00

22 lines
373 B
Markdown

---
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
```