Vanilla Breeze

topic-map

Hierarchical view of vb:topic dotted paths. Renders pages as a nested details/ul tree where each level is one segment of the topic path.

Overview

Reads pages.json and builds a tree from each page's vb:topic dotted path. Pages without a topic land under Uncategorized. The native <details> elements give expand/collapse without JavaScript.

Topic path conventions

The vb:topic meta tag uses dotted paths to express hierarchy:

Each segment becomes a level in the tree. Authors are free to invent any taxonomy; if VanillaPress, Cook SSG, or another stack adopts a shared vocabulary, lenses across sites become navigable in the same shape.

Attributes

AttributeTypeDefaultDescription
data-lens-srcstringURL to pages.json
srcstringAlias for data-lens-src
expand-allbooleanfalseRender with every level expanded