Skip to content

Configuration reference

The site builder reads blocks.config.json from your project root.

Key Purpose
pages Directory containing HTML and Markdown pages
layouts Shared HTML document layouts
fragments Shared navigation, footer, and other includes
outDir Static output directory, normally dist
base Deployment path, such as / or /my-project/
site.url Your public HTTP(S) origin for canonical URLs and sitemap
site.title Default page title
site.description Default page description
site.lang Default document language

Front matter

Pages support title, description, layout, lang, image, robots, and canonical. Use scalar strings, not executable configuration or nested YAML.

Layout placeholders

Use {{ content }} for the rendered page, {{ title }} and {{ description }} for text, and {{ base }} for deployment-aware URLs. Include a fragment with {% include "nav.html" %}.