Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'

This commit is contained in:
Bjørn Erik Pedersen
2025-04-10 13:04:51 +02:00
987 changed files with 12379 additions and 14083 deletions

View File

@@ -3,11 +3,10 @@ title: Description
description: Returns the description of the given page as defined in front matter.
categories: []
keywords: []
action:
related:
- methods/page/Summary
returnType: string
signatures: [PAGE.Description]
params:
functions_and_methods:
returnType: string
signatures: [PAGE.Description]
---
Conceptually different from a [content summary], a page description is typically used in metadata about the page.
@@ -17,12 +16,12 @@ title = 'How to make spicy tuna hand rolls'
description = 'Instructions for making spicy tuna hand rolls.'
{{< /code-toggle >}}
{{< code file=layouts/baseof.html >}}
```go-html-template {file="layouts/_default/baseof.html"}
<head>
...
<meta name="description" content="{{ .Description }}">
...
</head>
{{< /code >}}
```
[content summary]: /content-management/summaries/