{% extends "base.html" %} {% from 'partials/navigation-components.html' import breadcrumbs %} {% from 'chirpui/card.html' import resource_card %} {% from 'chirpui/hero.html' import page_hero %} {% from 'chirpui/surface.html' import surface %} {% block content %} {% let page_title = page?.title ?? config?.title ?? 'Documentation' %} {% let page_desc = params?.description ?? '' %} {% let show_quick_links = params?.show_quick_links ?? true %} {% let custom_quick_links = params?.quick_links ?? [] %} {% let site_sections = site?.sections ?? [] %} {% let doc_sections = site_sections |> selectattr('metadata.type', 'eq', 'doc') |> list %} {% if doc_sections | length == 0 %} {% let doc_sections = site_sections |> selectattr('metadata.content_type', 'eq', 'doc') |> list %} {% end %} {% if doc_sections | length == 0 %} {% let common_names = ['getting-started', 'guides', 'concepts', 'api', 'docs', 'documentation'] %} {% let doc_sections = [] %} {% for name in common_names %} {% let candidates = site_sections |> selectattr('name', 'eq', name) |> list %} {% if candidates | length > 0 %} {% set _ = doc_sections.append(candidates[0]) %} {% end %} {% end %} {% end %}
Explore
Shortcuts