Vanilla Breeze

author-index

Author-grouped view of site content. Reads pages.json and renders an accordion of authors with their pages listed underneath.

Overview

Reads pages.json via data-lens-src and groups by author. Provides search and per-author counts. If the source request fails, falls back to whatever light-DOM markup the author wrote inside the host.

Attributes

AttributeTypeDefaultDescription
data-lens-srcstringURL to pages.json or compatible source
srcstringAlias for data-lens-src
placeholderstring"Filter authors…"Search input placeholder
sort"alpha" | "count""alpha"Group sort order

Source contract

The component expects either a JSON array of records or an object with a pages array, where each record carries at minimum:

VB's Cook SSG plugin generate-pages-json emits this shape automatically.