hugo/docs/content/en/methods/site/Title.md

23 lines
373 B
Markdown
Raw Permalink Normal View History

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