On this page

Defaults

Collection-specific fields and inheritance: Collections. Landing block fields: Landing. UI catalog: Languages.

SettingDefaultPurpose
devlab.brand.logo_textconfig.titleHeader logo text.
devlab.brand.footer_textconfig.titleFooter copyright label.
devlab.brand.show_logo_markfalseWhether to render a compact image or the built-in theme mark.
devlab.brand.logo_mark_pathEmptyOptional local or remote image that replaces the built-in mark.
devlab.announcement.showfalseRender the site-wide banner when its message is non-empty.
devlab.announcement.keyEmptyAnnouncement identity; a non-empty key is required for dismissal.
devlab.announcement.labelEmptyOptional plain-text prefix; hidden at widths of 420px or less.
devlab.announcement.messageEmptyPlain-text announcement; an empty message hides the banner.
devlab.announcement.pathEmptyOptional link resolved with the active language; empty renders text.
devlab.announcement.dismissibletrueShow a close button when the banner is enabled and has a key.
devlab.footer.showtrueWhether to render regular and compact footers.
devlab.footer.noteEmptyOptional plain-text footer information.
devlab.footer.linksEmpty arrayOptional project, social or utility links.
devlab.footer.links_labelui.footer_linksAccessible name for the footer link group.
devlab.footer.show_link_namesfalseShow names and a links_label heading in the regular footer. Compact reading footers always omit link names.
devlab.seo.og_imageEmptyOptional Open Graph and Twitter preview image path or absolute URL.
devlab.appearance.default_modesystemInitial color mode before a visitor choice is saved.
devlab.appearance.show_toggletrueWhether to render the color mode toggle button.
devlab.i18n.rtl_languagesEmpty arrayActive Zola language codes rendered right-to-left; unlisted languages use ltr.
devlab.collections.<name>.navigationNot setOptional ordered top-level section manifest for the Docs sidebar, mobile panel and root catalog; omission or an empty array enables automatic discovery.
devlab.docs.show_breadcrumbstrueWhether Docs articles render their breadcrumb path.
devlab.docs.show_toctrueWhether Docs pages and sections render heading navigation.
devlab.docs.show_paginationtrueWhether Docs articles render Previous and Next cards.
devlab.docs.page_actions.show_last_updatedfalseShow page.updated below a Docs page when the field is present.
devlab.docs.page_actions.show_copy_linkfalseAdd a progressively enhanced control that copies the current page URL.
devlab.docs.page_actions.edit_urlEmptyRepository edit-URL prefix; page.relative_path is appended.
devlab.docs.page_actions.report_urlEmptyComplete issue or feedback URL used without modification.
devlab.docs.page_actions.date_format%Y-%m-%dDisplay format for the Docs updated value.
devlab.blog.date_format%d.%m.%YDisplay format for published and updated dates.
devlab.blog.show_reading_timetrueShow Zola's reading-time estimate; a post can override it through extra.show_reading_time.
devlab.blog.show_paginationtrueShow Older/Newer links in a sorted article section.
devlab.blog.show_toctrueRender a post table of contents: sticky beside the article on wide screens, collapsed above it on narrow ones.
devlab.search.enabledtrueWhether DevLab renders its search interface and loads its adapter.
devlab.search.language_scripts.<lang>German/Russian modules for de/ru; empty for othersOrdered lazy language plugin paths, replacing that language’s defaults.
devlab.search.indexEmptyOptional generated-index filename override; empty selects search_index.<lang>.js.
devlab.navigation.linksHomeHeader and mobile links using name/path or collection.

Optional editor validation

The theme includes schema/devlab.schema.json for TOML editors that support JSON Schema. It validates extra.devlab.appearance, docs, navigation and collections, including page actions and Reader chapter order. It catches incorrect types, misspelled fields inside these blocks and incomplete or ambiguous navigation records.

With Taplo, put this comment at the top of a consumer's zola.toml, before any settings:

#:schema ./themes/devlab-theme/schema/devlab.schema.json

The path is relative to zola.toml; adjust it when the theme checkout has a different location. In this theme's own repository, use #:schema ./schema/devlab.schema.json. The schema uses JSON Schema Draft 4, which Taplo supports. Editor validation is optional and does not change Zola's build command or add runtime dependencies.

Other Zola settings, site-owned extra data and additional extra.devlab blocks remain allowed. Those blocks are outside this schema's current scope. The schema does not validate page front matter, check file existence or resolve collection names. Run zola build to check content references, collection ancestry and navigation overlap. The schema reports unsupported color modes as editor errors even though the theme falls back to system at runtime.

For theme development, schema tests use Python 3.11+ and the separate tests/requirements.txt dependency file:

python3 -m venv /tmp/devlab-schema-venv
/tmp/devlab-schema-venv/bin/pip install -r tests/requirements.txt
/tmp/devlab-schema-venv/bin/python tests/test_config_schema.py