{% extends "base.html" %} {# API Reference Template Three-column layout optimized for API documentation sites: - Left sidebar: Navigation tree - Center: Content - Right sidebar: TOC + metadata Usage: Set `template: api-reference/single.html` in frontmatter Or set `type: api-reference` to auto-select this template #} {% from 'partials/navigation-components.html' import breadcrumbs, page_navigation, toc with context %} {% from 'partials/content-components.html' import tag_list with context %} {% block content %} {# Three-column documentation layout #}
{# Left Sidebar: Navigation #} {# Main Content #}
{# Action Bar: Breadcrumbs + Share #} {% include 'partials/action-bar.html' %} {# Article Content #}
{# Main content #}
{{ content | safe }}
{# 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 #}