Front matter SEO reference
The supported metadata fields for posts in this blog starter.
1 min read
Use front matter to keep the article body clean while still giving the blog enough metadata to build rich pages.
| Field | Required | Purpose |
|---|---|---|
title | Yes | Page title, archive card title, and fallback SEO title. |
description | Yes | Archive summary and fallback meta description. |
date | Yes | Publish date for sorting, sitemap, RSS, and JSON-LD. |
updated | No | Modified date for article metadata. |
author | Yes | GitHub usernames for the post authors. |
tags | No | Filters, article metadata, and keyword hints. |
image | No | Header image shown below the post title and description. |
canonicalUrl | No | Overrides the canonical URL when syndicating content. |
seo.image | No | Overrides the default social image. |
Drafts
Set published: false to keep a file in the repository without showing it in production output.
published: false
Edit links
Every post knows its source path. The post page combines that path with repositoryUrl and repositoryBranch from blog-settings.json to create the Edit on GitHub link.