themes-terminal/blocks/blocks.yaml
Alex Dunmow f6e2c1dccc 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:31:20 +08:00

49 lines
1.8 KiB
YAML

# Terminal theme block definitions (codeless .bnp, WO-WZ-021).
# Keys are fully qualified (terminal:<key>) because the codeless loader
# registers definitions verbatim — there is no PluginBlockRegistry prefixing
# in the codeless path (unlike the wasm/templ path). The qualified keys match
# the hardcoded data-block attributes and the master_pages.json references.
blocks:
- key: terminal:ascii_header
title: ASCII Header
description: Figlet-style TTY banner with a shell prompt line
category: layout
schema: ascii_header.schema.json
template: ascii_header.ninjatpl
- key: terminal:manpage_header
title: Man-page Header
description: NAME(section) ... center ... version row, like a man-page top line
category: layout
schema: manpage_header.schema.json
template: manpage_header.ninjatpl
- key: terminal:toc
title: Section TOC
description: Fixed left-rail table of contents for article pages
category: navigation
schema: toc.schema.json
template: toc.ninjatpl
- key: terminal:code_console
title: Console Block
description: Shell prompt + command + output, with language hint
category: content
schema: code_console.schema.json
template: code_console.ninjatpl
- key: terminal:keybind_table
title: Keybinding Table
description: Two-column key + action reference table
category: content
schema: keybind_table.schema.json
template: keybind_table.ninjatpl
- key: terminal:boot_log
title: Boot Log Hero
description: Sequential dmesg-style boot lines revealed one after another
category: content
schema: boot_log.schema.json
template: boot_log.ninjatpl
- key: terminal:footer
title: TTY Footer
description: EOF rule, MOTD, optional newsletter signup
category: layout
schema: footer.schema.json
template: footer.ninjatpl