To manage the metadata of pages and posts, use the metaTitle and metaDesc properties in the front matter:
---
title: 'Your page title'
metaTitle: 'Your SEO title'
metaDesc: 'Your page description'
tags:
- first tag
- second tag
hero:
image: '/assets/images/my-hero.jpg'
imageAlt: 'A description of the hero image'
---
The metadata is generated by the partial meta-info.html.
- Use
metaTitleto set a custom title for SEO and social sharing. IfmetaTitleis not provided, the page title is automatically generated using the page title and site name. - Use
metaDescto set the page description. - If the page has a
hero.image, it is automatically used as the social sharing image.