Skip to main content
Sarde

Reference

Exhaustive reference for configuration keys, frontmatter fields, CLI commands, theme tokens, and template functions

Complete reference for every configurable surface of Sarde.

  • Configuration covers all sarde.yaml keys and the five-layer config cascade.
  • Frontmatter lists every frontmatter field with types, defaults, and auto-inference rules.
  • CLI Commands documents every sarde subcommand and its flags.
  • Template Functions lists the Go template function registry (strings, math, URLs, assets, nav, i18n).
  • Shortcodes covers Go-template shortcode syntax and built-in shortcodes.
  • Theme Tokens documents the --sd-* CSS custom property system and the four-layer token cascade.
  • Template API explains what a template receives, how the base shell is filled, and where each part of the surface is documented.
  • Route Data lists every field available to templates as the dot context and when each one is populated.
  • UI Components lists the named template components and their configuration.
Edit this page

Last updated: