Description

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.

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>