diff --git a/docs/adr/0001-compiled-sites-render-whole-sections.md b/docs/adr/0001-compiled-sites-render-whole-sections.md new file mode 100644 index 0000000..66f098b --- /dev/null +++ b/docs/adr/0001-compiled-sites-render-whole-sections.md @@ -0,0 +1,18 @@ +# Compiled sites render whole sections on scifi-clean + +Decided 2026-11-20 for scifi-clean 0.4.2, from the website factory's visual review (orchestrator WO-094, ADR 0078). + +## 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 + +- team honours `columns` (2, 3 or 4) in its grid layout, so two people no longer sit in a four-column row with two empty cells. With no `columns` the fixed responsive ramp is unchanged. + +## Consequences + +- scifi-clean 0.4.2 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: scifi-clean, 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 a31f07a..5b7c054 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "scifi-clean" display_name = "Sci-Fi Clean" scope = "@themes" -version = "0.4.1" +version = "0.4.2" description = "Minimalist futurist theme for aerospace, robotics, and R&D — off-white surfaces, technical blue, signal-orange accents, mono numerals." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/scifi-clean/team.ninjatpl b/templates/overrides/scifi-clean/team.ninjatpl index 222eb8d..f6e131e 100644 --- a/templates/overrides/scifi-clean/team.ninjatpl +++ b/templates/overrides/scifi-clean/team.ninjatpl @@ -2,7 +2,7 @@
{% if heading %}

{{ heading }}

{% endif %} {% if intro %}

{{ intro }}

{% endif %} -{% if members %}
{% for member in members %}
+{% if members %}
{% for member in members %}
{% if member.photo %}
{% img member.photo alt=member.name class="sc-team-photo" %}
{% endif %} {% if member.name %}

{{ member.name }}

{% endif %} {% if member.role %}
{{ member.role }}
{% endif %}