concept Front Matter in category hugo

appears as: The Front Matter, Front Matter, Front Matter
Hugo in Action: Static sites and dynamic JAMstack apps

This is an excerpt from Manning's book Hugo in Action: Static sites and dynamic JAMstack apps.

Apart from the global site wide configuration, we also need page-specific metadata like the creation date, the tags, the URL, the author name etc. This information is needed to organize the page within the website as well as to provide information to the wider internet like search engines and social networks about this page. Some metadata may also be shown in the sidebar of the page. To provide page-specific metadata, Hugo has the concept of front matter. The Front Matter is a set of key value pairs that define the metadata for the content that is provided right before the content. With the front matter, we can provide metadata on the same file as the main content.