Description
Syntax
PAGE.Description
Returns
string
Conceptually different from a content summary, a page description is typically used in metadata about the page.
content/recipes/sushi.md
---
description: Instructions for making spicy tuna hand rolls.
title: How to make spicy tuna hand rolls
---
+++
description = 'Instructions for making spicy tuna hand rolls.'
title = 'How to make spicy tuna hand rolls'
+++
{
"description": "Instructions for making spicy tuna hand rolls.",
"title": "How to make spicy tuna hand rolls"
}
layouts/baseof.html
<head>
...
<meta name="description" content="{{ .Description }}">
...
</head>