Front Matter Fields
All fields
Section titled “All fields”| Field | Type | Example | Notes |
|---|---|---|---|
title | string | "My Post" | Always written. Used to generate filename. |
date | ISO 8601 | 2026-05-21T14:32:00+02:00 | Set to publish time automatically. |
author | string | tor | Selected from authors list in scribe.yaml |
categories | string array | [review] | Always an array — even single value |
tags | string array | [hugo, cms] | Free-form chip input |
feature_image | string (URL) | /images/posts/2026-05-21-slug-abc123.webp | Set after image upload |
draft | boolean | false | Toggle in editor. true = unpublished |
categories is always an array
Section titled “categories is always an array”scribe always writes categories as a YAML array:
categories: - reviewIn Hugo templates, use index .Params.categories 0 to get the first value.
In Astro, use z.array(z.string()) in your schema — never z.string().