Templates

Templates are the page-level layouts of the theme. Your page generators reference them by name, and each template decides how the page is rendered around your content.

Vara ships eight templates:

TemplatePageWhat it renders
vara-landingLanding pagesYour content as a full page, with the landing JavaScript bundle.
vara-docsDocumentation pagesHeader, sidebar, content, table of contents, and pager.
vara-docs-rawRaw MarkdownThe original Markdown source of a docs page.
vara-docs-search-indexJSONThe search index consumed by client-side search.
vara-docs-llms-txtPlain textA hierarchical index of every documentation page.
vara-docs-llms-full-txtPlain textThe index plus the full content of every page.
vara-sitemap-xmlXMLThe site's sitemap.
vara-404Not foundA self-contained 404 page.

The landing, docs, and 404 templates build on a shared base that provides the document shell, SEO metadata, fonts, and styles. The data templates (search index, llms output, sitemap) do not use that shell - they output their own format.

Each page below describes what the template expects from the page object and how to configure it.