{% extends "base.html" %} {# Documentation List Template Three-column layout optimized for documentation section index pages: - Left sidebar: Navigation tree - Center: Content + Child page tiles - Right sidebar: TOC + metadata Usage: Set `template: doc/list.html` in frontmatter Or set `type: doc` to auto-select this template Features: - Automatically displays child pages and subsections as tiles - Disable with `show_children: false` in frontmatter #} {% from 'partials/navigation-components.html' import breadcrumbs, page_navigation, toc with context %} {% from 'partials/content-components.html' import tag_list, child_page_tiles with context %} {% block content %} {# Three-column documentation layout #}
{# Left Sidebar: Navigation #} {# Main Content #}
{# Breadcrumbs #} {{ breadcrumbs(page) }} {# Article Content #}

{{ page.title }}

{% if page.metadata.get('description', '') %}

{{ page.metadata.get('description', '') }}

{% endif %} {# Document metadata #} {% include 'partials/docs-meta.html' %}
{# Main content #}
{{ content | safe }}
{# Child page tiles - can be disabled via frontmatter: show_children: false #} {% set show_children = page.metadata.get('show_children', true) if page else true %} {% if show_children and (posts or subsections) %}
{{ child_page_tiles(posts=posts, subsections=subsections) }}
{% endif %} {# Tags #} {% if page.tags %}
{{ tag_list(page.tags) }}
{% endif %}
{# Page navigation (prev/next) at bottom #} {{ page_navigation(page) }}
{# Right Sidebar: TOC + Metadata #} {% if toc_items %} {% endif %}
{# Mobile sidebar toggle button #} {# Sidebar overlay for mobile #} {% endblock %} {# Sidebar toggle functionality is handled by interactive.js #}