docs/content/en/methods/site/Title.md
raw| 1 | --- |
| 2 | title: Title |
| 3 | description: Returns the title as defined in your project configuration. |
| 4 | categories: [] |
| 5 | keywords: [] |
| 6 | params: |
| 7 | functions_and_methods: |
| 8 | returnType: string |
| 9 | signatures: [SITE.Title] |
| 10 | --- |
| 11 | |
| 12 | Project configuration: |
| 13 | |
| 14 | {{< code-toggle file=hugo >}} |
| 15 | title = 'My Documentation Site' |
| 16 | {{< /code-toggle >}} |
| 17 | |
| 18 | Template: |
| 19 | |
| 20 | ```go-html-template |
| 21 | {{ .Site.Title }} → My Documentation Site |
| 22 | ``` |