diff --git a/docs/adr/0002-compiled-sites-second-render-review.md b/docs/adr/0002-compiled-sites-second-render-review.md new file mode 100644 index 0000000..8813907 --- /dev/null +++ b/docs/adr/0002-compiled-sites-second-render-review.md @@ -0,0 +1,18 @@ +# Second render review of compiled sites on editorial + +Decided 2026-11-20 for editorial 0.5.3, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADR 0001 shipped. + +## Context + +The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone. + +## Decision + +- The rich-section button's arrow is an inline icon. `.editorial-button` is an inline block, the preflight makes an SVG a block, and the arrow wrapped onto a second line under the label. + +## Consequences + +- editorial 0.5.3 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it. +- No schema field changes. A site that sets the old values renders as before wherever it has an image. + +Keywords: editorial, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review diff --git a/plugin.mod b/plugin.mod index 92c6a85..9ad3f8d 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "editorial" display_name = "Editorial" scope = "@themes" -version = "0.5.2" +version = "0.5.3" description = "A personal essayist's reading room: warm book-paper light, sepia-on-charcoal dark, serif baseline grid, drop caps, running marginalia and small-caps labels for longform writers and independent newsletters." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/editorial/rich-section.ninjatpl b/templates/overrides/editorial/rich-section.ninjatpl index 8bfb1f6..8900f3d 100644 --- a/templates/overrides/editorial/rich-section.ninjatpl +++ b/templates/overrides/editorial/rich-section.ninjatpl @@ -4,7 +4,7 @@ {% if eyebrow %}

{{ eyebrow }}

{% endif %} {% if heading %}

{{ heading }}

{% endif %} {% if body %}
{{ body|safe }}
{% endif %} - {% if ctaUrl and ctaLabel %}{{ ctaLabel }}{% endif %} + {% if ctaUrl and ctaLabel %}{{ ctaLabel }}{% endif %} {% if media %}
{% img media alt=mediaAlt class="w-full h-auto object-cover" %}