From f9b833ecce7dcd894996c712637b5c95ea3862b3 Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Fri, 20 Nov 2026 03:22:26 +0800 Subject: [PATCH] fix: render whole sections for factory-compiled sites (0.5.3) Co-Authored-By: Claude Opus 5.5 --- ...002-compiled-sites-second-render-review.md | 19 +++++++++++++++++++ plugin.mod | 2 +- .../overrides/magazine-bold/hero.ninjatpl | 2 +- .../magazine-bold/rich-section.ninjatpl | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 docs/adr/0002-compiled-sites-second-render-review.md 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..17c560f --- /dev/null +++ b/docs/adr/0002-compiled-sites-second-render-review.md @@ -0,0 +1,19 @@ +# Second render review of compiled sites on magazine-bold + +Decided 2026-11-20 for magazine-bold 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 hero headline drops `.mb-caps`, whose 0.72rem size overrode the headline's size classes and printed the page's main heading as a small label. It keeps upper case through Tailwind `uppercase`. +- The rich-section button's arrow is an inline icon. `.mb-button` is an inline block, the preflight makes an SVG a block, and the arrow wrapped onto a second line under the label. + +## Consequences + +- magazine-bold 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: magazine-bold, 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 6a6a710..6933605 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "magazine-bold" display_name = "Magazine Bold" scope = "@themes" -version = "0.5.2" +version = "0.5.3" description = "A streetwear label's cover-story chrome: massive condensed uppercase headlines, duotone imagery, grid-breaking overlap and fluoro accent slabs. Newsprint plus voltage by day, ink-black plus fluoro by night. For fashion drops, lookbooks and culture publications." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/magazine-bold/hero.ninjatpl b/templates/overrides/magazine-bold/hero.ninjatpl index 93da7a6..36d4d85 100644 --- a/templates/overrides/magazine-bold/hero.ninjatpl +++ b/templates/overrides/magazine-bold/hero.ninjatpl @@ -12,7 +12,7 @@ {% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %} {% macro herocontent(align) %} {% if eyebrowText %}
{{ eyebrowText }}
{% endif %} -{% if headlineText %}

{{ headlineText }}

{% endif %} +{% if headlineText %}

{{ headlineText }}

{% endif %} {% if subText %}

{{ subText }}

{% endif %} {% if descText %}

{{ descText }}

{% endif %} {% if pText or sText %}
diff --git a/templates/overrides/magazine-bold/rich-section.ninjatpl b/templates/overrides/magazine-bold/rich-section.ninjatpl index a2ffa01..c058651 100644 --- a/templates/overrides/magazine-bold/rich-section.ninjatpl +++ b/templates/overrides/magazine-bold/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" %}