Skip to content

site-guide, SEO

Metadata

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 metaTitle to set a custom title for SEO and social sharing. If metaTitle is not provided, the page title is automatically generated using the page title and site name.
  • Use metaDesc to set the page description.
  • If the page has a hero.image, it is automatically used as the social sharing image.