From b7f3f678cbfe4f06224633c8118f97caef4696c6 Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Fri, 20 Nov 2026 03:18:22 +0800 Subject: [PATCH] fix: render whole sections for factory-compiled sites (0.7.3) Co-Authored-By: Claude Opus 5.5 --- ...0002-compiled-sites-second-render-review.md | 18 ++++++++++++++++++ plugin.mod | 2 +- templates/overrides/brutalist/hero.ninjatpl | 2 +- 3 files changed, 20 insertions(+), 2 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..296a524 --- /dev/null +++ b/docs/adr/0002-compiled-sites-second-render-review.md @@ -0,0 +1,18 @@ +# Second render review of compiled sites on brutalist + +Decided 2026-11-20 for brutalist 0.7.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 scrim from ADR 0001 is drawn with an inline style, because the Tailwind classes it used are not in the generated stylesheet and no scrim rendered. + +## Consequences + +- brutalist 0.7.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: brutalist, 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 dd14fe3..1d29d80 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "brutalist" display_name = "Brutalist" scope = "@themes" -version = "0.7.2" +version = "0.7.3" description = "Concrete, oversized type, hard 12-col grid theme for design studios, architecture firms and art galleries." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/brutalist/hero.ninjatpl b/templates/overrides/brutalist/hero.ninjatpl index afb4d52..4acce12 100644 --- a/templates/overrides/brutalist/hero.ninjatpl +++ b/templates/overrides/brutalist/hero.ninjatpl @@ -10,7 +10,7 @@ {% set variant = template|default:"centered" %} {% set hasImage = backgroundImage %}
-{% if hasImage %}
{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}
{% endif %} +{% if hasImage %}
{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}
{% endif %}
{% if eyebrowText %}{{ eyebrowText }}{% endif %}