Sequential reading and mathematics
Configure the shared docs, Book, and blog pager and render mathematics with local server-side KaTeX.
Scenario Components solve a complete publishing job rather than one fragment of a page. Each scenario coordinates content, local data, navigation, runtime loading, accessibility, and non-HTML output behind one strict contract.
They complement the component reference: use that chapter to look up an individual writing primitive, and use this chapter when the job spans multiple pages, files, or output formats.
| Scenario | Use it when you need | Primary source of truth |
|---|---|---|
| Sequential reading | A manual, Book, or blog should have a dependable sequence | Sidebar/content tree and page metadata |
| Releases and downloads | Release facts, assets, and install paths must agree | Front matter and data/download/ |
| Landing pages | A product page needs reusable full-width sections | data/landing/ or inline section data |
| Book publishing | Long-form work needs numbering, citations, and print | Existing Book tree and stable page IDs |
Pin the minimum release that owns these contracts:
Use Hugo Extended 0.160.1 or newer. Adopt one scenario at a time, build every configured output, and inspect the result in each language. A local build, a public theme tag, a site version pin, and a hosted deployment are separate evidence gates; do not infer one from another.
For an existing Oink site, start with the 0.4.0 upgrade guide.
Configure the shared docs, Book, and blog pager and render mathematics with local server-side KaTeX.
Keep release facts, archive links, checksums, and rolling or pinned download channels consistent without remote API calls.
Compose reusable, full-width product pages from local, language-aware data and Oink’s validated section registry.
Publish long-form content with one navigation tree, numbered components, stable cross-references, generated indexes, and whole-Book print HTML.