{% extends "base.html" %} {# Generic Section Index Template Used for non-chronological section landing pages. Falls back when no specialized template exists. Context variables: - section: Section object (for auto-generated pages) - page: Page object (for explicit _index.md files) - posts: Child pages (_posts) - subsections: Child sections (_subsections) Frontmatter options (discover: structure): discover: children: title: "Custom Title" # or false to hide variant: "cards" # compact | cards | minimal children: false # disable children entirely related: title: "Custom Title" limit: 5 related: false # disable related entirely #} {% from 'partials/navigation-components.html' import breadcrumbs %} {% from 'partials/components/tiles.html' import content_tiles %} {% block content %} {{ breadcrumbs(page if page else section) }}
{{ params.description }}
{% elif section and (section?.params?.description ?? none) %}{{ section.params.description }}
{% end %}To add content:
content/{{ section.path.relative_to(site.content_dir) }}/my-page.md
content/{{ section.path.relative_to(site.content_dir) }}/_index.md
content/{{ section.path.relative_to(site.content_dir) }}/subsection/