fix: website factory launch run defects (0.5.9)
Footer contact details, eyebrow alignment, long headlines, scrims and grid rows found by the WO-101 render pass; see docs/adr. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5a21bb9823
commit
b4d6bbf183
@ -0,0 +1,19 @@
|
|||||||
|
# The centred footer shows the contact details, and the eyebrow lines up with the headline
|
||||||
|
|
||||||
|
Decided 2026-11-22 for editorial 0.5.9, from the website factory's launch runs (orchestrator WO-101, ADR 0092).
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
The website factory compiles a customer's site onto this theme. Twelve launch sites built on dev on 2026-11-22 showed defects on their home pages, recorded in the orchestrator's `docs/works/evidence/WO-090/runs/RESULTS.md`; the render pass now also renders a 60 to 80 character headline with long words on every theme.
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
|
||||||
|
- The centred footer layout shows the address, email and phone as the column layout does. Every editorial master footer is centred, so the contact details the factory binds from the site settings never appeared.
|
||||||
|
- A left-aligned hero eyebrow has no leading rule. The rule before the eyebrow text pushed it about 16 pixels right of the headline on the split and left-aligned heroes; the centred hero keeps a rule on each side.
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
- editorial 0.5.9 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
||||||
|
- No schema field changes. Production sites on this theme pick the change up with the automatic theme update; the regression check for sites the factory did not build compared the production release with 0.5.9 (orchestrator `docs/works/evidence/WO-101/theme-regression/`).
|
||||||
|
|
||||||
|
Keywords: footer, centered, contact details, address, email, phone, _site_bindings, eyebrow, kicker, editorial-rule, WO-101, website factory, launch runs, editorial
|
||||||
@ -2,7 +2,7 @@
|
|||||||
name = "editorial"
|
name = "editorial"
|
||||||
display_name = "Editorial"
|
display_name = "Editorial"
|
||||||
scope = "@themes"
|
scope = "@themes"
|
||||||
version = "0.5.8"
|
version = "0.5.9"
|
||||||
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."
|
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"
|
kind = "theme"
|
||||||
categories = ["templates"]
|
categories = ["templates"]
|
||||||
|
|||||||
@ -18,6 +18,7 @@
|
|||||||
{% if logo %}<img src="{{ logo }}" alt="{{ companyName }}" class="h-10 w-auto"/>{% elif companyName %}<span class="editorial-caps text-2xl text-[hsl(var(--accent))]" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif);">{{ companyName }}</span>{% endif %}
|
{% if logo %}<img src="{{ logo }}" alt="{{ companyName }}" class="h-10 w-auto"/>{% elif companyName %}<span class="editorial-caps text-2xl text-[hsl(var(--accent))]" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif);">{{ companyName }}</span>{% endif %}
|
||||||
<span class="editorial-rule w-12"></span>
|
<span class="editorial-rule w-12"></span>
|
||||||
{% if tagline %}<p class="max-w-md text-sm italic text-muted-foreground">{{ tagline }}</p>{% endif %}
|
{% if tagline %}<p class="max-w-md text-sm italic text-muted-foreground">{{ tagline }}</p>{% endif %}
|
||||||
|
{% if address or email or phone %}<address class="not-italic text-sm text-muted-foreground space-y-1">{% if address %}<div>{{ address }}</div>{% endif %}{% if email %}<div><a href="mailto:{{ email }}" class="hover:text-[hsl(var(--accent))] transition-colors">{{ email }}</a></div>{% endif %}{% if phone %}<div><a href="tel:{{ phone }}" class="hover:text-[hsl(var(--accent))] transition-colors">{{ phone }}</a></div>{% endif %}</address>{% endif %}
|
||||||
{% if columns %}<nav class="flex flex-wrap items-center justify-center gap-x-6 gap-y-2">{% for col in columns %}{% for item in col.items %}<a href="{{ item.url|default:'#' }}"{% if item.open_in_new_tab %} target="_blank" rel="noopener"{% endif %} class="editorial-caps text-xs text-muted-foreground hover:text-[hsl(var(--accent))] transition-colors">{{ item.label }}</a>{% endfor %}{% endfor %}</nav>{% endif %}
|
{% if columns %}<nav class="flex flex-wrap items-center justify-center gap-x-6 gap-y-2">{% for col in columns %}{% for item in col.items %}<a href="{{ item.url|default:'#' }}"{% if item.open_in_new_tab %} target="_blank" rel="noopener"{% endif %} class="editorial-caps text-xs text-muted-foreground hover:text-[hsl(var(--accent))] transition-colors">{{ item.label }}</a>{% endfor %}{% endfor %}</nav>{% endif %}
|
||||||
{{ newsletter() }}
|
{{ newsletter() }}
|
||||||
{{ sociallinks("justify-center") }}
|
{{ sociallinks("justify-center") }}
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
{% set hasImage = backgroundImage %}
|
{% set hasImage = backgroundImage %}
|
||||||
{% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %}
|
{% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %}
|
||||||
{% macro herocontent(align) %}
|
{% macro herocontent(align) %}
|
||||||
{% if eyebrowText %}<div class="mb-5 flex items-center gap-4 {% if align == "center" %}justify-center{% endif %}"><span class="editorial-rule w-10"></span><span class="editorial-caps text-xs text-muted-foreground">{{ eyebrowText }}</span><span class="editorial-rule w-10"></span></div>{% endif %}
|
{% if eyebrowText %}<div class="mb-5 flex items-center gap-4 {% if align == "center" %}justify-center{% endif %}">{% if align == "center" %}<span class="editorial-rule w-10"></span>{% endif %}<span class="editorial-caps text-xs text-muted-foreground">{{ eyebrowText }}</span><span class="editorial-rule w-10"></span></div>{% endif %}
|
||||||
{% if headlineText %}<h1 class="editorial-hero-title" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif);color:hsl(var(--foreground));">{{ headlineText }}</h1>{% endif %}
|
{% if headlineText %}<h1 class="editorial-hero-title" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif);color:hsl(var(--foreground));">{{ headlineText }}</h1>{% endif %}
|
||||||
{% if subText %}<h2 class="mt-5 text-xl sm:text-2xl italic max-w-2xl{% if align == "center" %} mx-auto{% endif %}" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Source Serif 4', 'Source Serif Pro', Georgia, serif);">{{ subText }}</h2>{% endif %}
|
{% if subText %}<h2 class="mt-5 text-xl sm:text-2xl italic max-w-2xl{% if align == "center" %} mx-auto{% endif %}" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Source Serif 4', 'Source Serif Pro', Georgia, serif);">{{ subText }}</h2>{% endif %}
|
||||||
{% if descText %}<p class="mt-4 max-w-xl leading-relaxed{% if align == "center" %} mx-auto{% endif %}" style="color:hsl(var(--muted-foreground));">{{ descText }}</p>{% endif %}
|
{% if descText %}<p class="mt-4 max-w-xl leading-relaxed{% if align == "center" %} mx-auto{% endif %}" style="color:hsl(var(--muted-foreground));">{{ descText }}</p>{% endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user