Skip to content

Front Matter Reference

Front Matter is the configuration block at the top of your Markdown files, enclosed by ---. It controls the page’s metadata, layout, and enabled features.

Standard metadata used across all content types.

ParameterTypeDescription
titlestringRequired. The title of the page.
datedatePublication date (YYYY-MM-DD). Future-dates aren’t published.
summarystringShort summary used in list views and SEO descriptions. Alias description.
authorslistList of author usernames (matching content/authors/) or plain text names.
tagslistTaxonomy tags for filtering and discovery.
categorieslistTaxonomy categories for high-level grouping.
typestringOverrides the content type (e.g., landing, page, post).
weightintegerSort order in lists/menus (lower numbers appear first).
draftbooleanIf true, the page is hidden from the production build.

Configure the page header and featured images.

ParameterTypeDescription
featuredbooleanPin this page to the homepage or “Featured” widgets.
imageobjectConfigures the Featured Image (see object details below).
coverobjectConfigures the Cover Image (see object details below).
image:
filename: my-image.jpg # Path relative to page bundle or in assets/media/
focal_point: Smart # Smart, Center, TopLeft, etc.
preview_only: false # true = show on social/lists but HIDE on actual page
alt_text: "Description" # Accessibility text

Configures the Notion-style page header.

Simplest Usage: Just upload cover.jpg to your page folder.

Full Configuration:

cover:
image: "cover.jpg" # Local filename or remote URL
alt_text: "My Cover" # Defaults to page title
style: "gradient" # gradient (default), glass, blur, minimal, default
height: "medium" # small, medium (default), large, full
hidden: false # Hide cover if cover image exists
# Icon Overlay
icon:
name: "📊" # Emoji or icon name (e.g. "brands/github")
position: "overlap" # overlap (default), below, inline
# Image Positioning (0-100%)
position:
x: 50
y: 50
# Advanced Effects
fade:
enabled: true # Fade bottom edge into page
overlay:
color: "#000000" # Custom overlay color
opacity: 0.3 # Overlay opacity

Enable or disable specific page features.

ParameterTypeDefaultDescription
tocbooleantrueShow the Table of Contents on this page.
sharebooleantrueShow social sharing buttons.
commentablebooleantrueEnable comments (if a provider is configured).
editablebooleantrueShow the “Edit this page” link to GitHub/GitLab.

Attach files, external links, or slides.

ParameterTypeDescription
resourceslistList of downloadable files (PDFs, etc.).
linkslistList of Call-to-Action (CTA) buttons to display in the header.
slidesstringFilename of a slide deck in content/slides/ (no extension).
resources:
- src: paper.pdf
title: Read Paper
links:
- name: Code
url: https://github.com/...
icon: brands/github

Unlock technical writing features.

ParameterTypeDescription
mathbooleanEnable LaTeX math rendering (KaTeX) but usually auto-detected.

Advanced control over URLs and search engine visibility.

ParameterTypeDescription
aliaseslistList of old URLs to redirect to this page (e.g., ['/old-post/']).
canonicalstringThe canonical URL for SEO (if content is syndicated).
robotsstringCustom robots meta tag (e.g., noindex).