{% extends "base.html" %} {% from 'partials/navigation-components.html' import breadcrumbs, page_navigation %} {% from 'partials/components/tags.html' import tag_list %} {% from 'partials/page-actions.html' import page_actions %} {% from 'chirpui/button.html' import btn %} {% from 'chirpui/hero.html' import page_hero %} {% block content %} {% let page_tags = page?.tags ?? [] %} {% let page_href = page?.href ?? '' %} {% let css_class = params?.css_class ?? '' %}
{% include 'partials/version-banner.html' %} {% include 'partials/stale-content-banner.html' %} {% let doc_title = page?.title ?? config?.title ?? 'Documentation' %} {% let doc_description = params?.description ?? page?.metadata?.description ?? meta_desc ?? '' %} {% let doc_meta_parts = [] %} {% if page?.date %} {% set _ = doc_meta_parts.append('Updated ' ~ (page.date | time_ago)) %} {% end %} {% if page?.version %} {% set _ = doc_meta_parts.append('Version ' ~ page.version) %} {% end %} {% call page_hero(title=doc_title, subtitle=doc_description, variant='editorial', background='solid', cls='chirp-theme-docs-layout__hero chirp-theme-doc-hero') %} {% slot eyebrow %} {{ breadcrumbs(page) }} {% end %} {% slot metadata %} {% if doc_meta_parts | length > 0 %} {{ doc_meta_parts | join(' ยท ') }} {% end %} {% end %} {% slot actions %} {{ page_actions(page) }} {% if params?.hero_link?.href %} {{ btn(params.hero_link.label ?? 'Explore', href=params.hero_link.href | absolute_url, variant='secondary') }} {% end %} {% end %} {% end %}
{{ content | safe }}
{% if page_tags | length > 0 %}
{{ t('docs.tagged', default='Tagged') }} {{ tag_list(page_tags) }}
{% end %}
{{ page_navigation(page) }} {# Cross-track membership widget. Renders one .chirp-theme-track-nav card per track whose items[] includes this doc's slug (multi-track membership emits multiple cards); a non-member doc emits nothing (the partial guards on membership, so there is no empty card wrapper). All current track members are type:doc, so only doc/single.html wires this in -- page.html does not. #} {% include 'partials/track_nav.html' %} {% with footer_class='chirp-theme-footer chirp-theme-footer--shell' %}{% include 'partials/site-footer.html' %}{% end %}
{% if toc_items | length > 0 %} {% end %}
{% end %} {% block site_footer %}{% end %}