hugo/docs/content/en/methods/page/Description.md
2024-06-21 09:41:24 +02:00

729 B

title description categories keywords action
Description Returns the description of the given page as defined in front matter.
related returnType signatures
methods/page/Summary
string
PAGE.Description

Conceptually different from a content summary, a page description is typically used in metadata about the page.

{{< code-toggle file=content/recipes/sushi.md fm=true >}} title = 'How to make spicy tuna hand rolls' description = 'Instructions for making spicy tuna hand rolls.' {{< /code-toggle >}}

{{< code file=layouts/baseof.html >}}

<head> ... ... </head> {{< /code >}}