• Scholarly
  • Creative
  • Natural
  • Precision
  • Collective

Section-level Configuration Reference

This page documents the [extra] front-matter keys Tapestry reads on a section's _index.md (e.g. content/docs/_index.md, content/archive/_index.md). Some of these override their site-level equivalents; others are section-specific. For Zola's own standard section front matter (title, description, sort_by, paginate_by, template, redirect_to, transparent, and so on), see Standard Zola front matter at the bottom of this page.

framed

+++
[extra]
framed = true
+++

Adds a framed class to the section header. Used by the front page, section listing, and archive templates.

section_path

+++
[extra]
section_path = "docs/_index.md"
+++

Used by the front-page (index.html) and archive templates to pull posts from a different section than the one the template is attached to — e.g. your homepage _index.md can list posts from content/docs/ without being that section itself. On the archive template, this defaults to /blog/_index.md if unset — a fallback path used only when your site has no such section and doesn't set section_path explicitly.

max_posts

+++
[extra]
max_posts = 5
+++

Front-page only: caps how many posts from the section named by section_path are listed. Defaults to that section's own paginate_by, or all of its pages if paginate_by is unset.

stylesheets

+++
[extra]
stylesheets = ["css/section-style.css"]
+++

Additive with the site- and page-level stylesheets — see site-configuration.md.

katex

+++
[extra]
katex = true
+++

Sets the KaTeX default for every page in this section (and its subsections), unless a page overrides it directly — see site-configuration.md for the full precedence chain.

social_media_image

+++
[extra.social_media_image]
path = "section-share-card.png"
alt_text = "A photo representing this section."
+++

Same behaviour as the page-level key (see page-configuration.md) — used as the og:image fallback for any page in this section that doesn't set its own.


Quick reference

KeyTypeDefaultNotes
framedboolfalseAdds a framed class to the section header.
section_pathpath/blog/_index.md (archive only)Section to pull posts from (front page, archive).
max_postsintegersection's paginate_by, or all pagesFront-page post-count cap.
stylesheetsarray of paths[]Additive with page/site level.
katexboolinheritedDefault for pages in this section.
social_media_image.pathpathunsetFallback og:image for pages in this section.
social_media_image.alt_textstringunsetog:image:alt fallback.
copy_buttonboolInert (terminus leftover).

Standard Zola front matter

Keys like title, description, sort_by, paginate_by, paginate_reversed, template, page_template, redirect_to, transparent, insert_anchor_links, and [taxonomies] are standard Zola section front matter, not Tapestry-specific — see Zola's own section content documentation for the full reference.