The essentials

Routing

Real pages. Normal browser navigation.

File-based routes

The toolkit generates directory indexes for static hosting. pages/index.html becomes /, pages/about.html becomes /about/, and pages/products/item.html becomes /products/item/. Markdown follows the same convention.

No client router

Links use standard browser navigation. Nested URLs work directly on GitHub Pages because each route has its own HTML document.

Base paths

Set base in blocks.config.json for repository deployments. Use {{ base }} in layouts and fragments. Asset and navigation links must retain the configured prefix.

Missing pages

The build emits 404.html. GitHub Pages serves this document for unknown routes.

Edit this page on GitHub

Search documentation

Search the docs, components, and blocks. Use Tab to select a result.