Convert the Editorial theme from a Go+templ wasm plugin to a fully codeless .bnp: 7 blocks + 4 built-in overrides + email wrapper transcribed templ→pongo2 .ninjatpl (byte-faithful, parity-verified 55/55 identical), 4 page templates, blocks/blocks.yaml (fully-qualified editorial:<key>), master_pages.json, and manifest.yaml (system/page templates, template_overrides, email_wrapper, css input_css_append). Schemas moved schemas/→blocks/. All Go, templ, go.mod/go.sum deleted. plugin.mod bumped 0.1.2→0.2.0, [compatibility] dropped. Makefile rewritten to codeless targets. Gates: ninja plugin build → (codeless, no plugin.wasm); ninja plugin verify → OK; check-safety → OK. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Colophon",
|
|
"description": "Editorial footer with print-convention ISSN field, optional subscribe stub, and a list of footer links.",
|
|
"type": "object",
|
|
"properties": {
|
|
"showSignup": {
|
|
"type": "string",
|
|
"title": "Show Subscribe Stub",
|
|
"description": "Render the newsletter subscribe stub above the link list.",
|
|
"x-editor": "select",
|
|
"enum": ["false", "true"],
|
|
"default": "false"
|
|
},
|
|
"issn": {
|
|
"type": "string",
|
|
"title": "ISSN",
|
|
"description": "Print-convention ISSN number. Rendered in JetBrains Mono small caps.",
|
|
"x-editor": "text"
|
|
},
|
|
"links": {
|
|
"type": "array",
|
|
"title": "Footer Links",
|
|
"description": "Inline footer link list.",
|
|
"default": [],
|
|
"x-editor": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string",
|
|
"title": "Link Text",
|
|
"description": "Display text.",
|
|
"x-editor": "text"
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"title": "URL",
|
|
"description": "External URL.",
|
|
"x-editor": "link"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|