themes-lcars/blocks/blocks.yaml
Alex Dunmow 6dbd76f2e8 feat: convert to codeless .bnp — templates + manifest, Go/templ deleted (WO-WZ-021)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 15:00:19 +08:00

29 lines
1.2 KiB
YAML

# LCARS theme block definitions (codeless .bnp, WO-WZ-021).
# Keys are fully qualified (lcars:<key>) because the codeless loader registers
# definitions verbatim — there is no PluginBlockRegistry prefixing in the
# codeless path (unlike the retired wasm/pongo-guest path). The qualified keys
# match the master_pages.json block references.
#
# header and sidebar previously used MustBlockTemplateWithDefaults; the codeless
# path has no defaults-merge, so their defaults are baked into the templates via
# |default filters (title/subtitle) and the {% empty %} branch (sidebar items).
blocks:
- key: lcars:lcars_header
title: LCARS Header
description: Top bar with elbow bracket, status indicators, and stardate
category: navigation
schema: lcars_header.schema.json
template: lcars_header.ninjatpl
- key: lcars:lcars_sidebar
title: LCARS Sidebar
description: Left panel with rounded-rectangle navigation buttons
category: navigation
schema: lcars_sidebar.schema.json
template: lcars_sidebar.ninjatpl
- key: lcars:lcars_panel
title: LCARS Panel
description: Framed content area with LCARS border treatment
category: layout
schema: lcars_panel.schema.json
template: lcars_panel.ninjatpl