mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
720 B
720 B
title, description, categories, keywords, params
| title | description | categories | keywords | params | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | Returns the description of the given page as defined in front matter. |
|
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 >}}
<head>
...
<meta name="description" content="{{ .Description }}">
...
</head>