diff --git a/docs/adr/0006-the-centred-footer-shows-contact-details-and-the-eyebrow-lines-up.md b/docs/adr/0006-the-centred-footer-shows-contact-details-and-the-eyebrow-lines-up.md new file mode 100644 index 0000000..6eecf59 --- /dev/null +++ b/docs/adr/0006-the-centred-footer-shows-contact-details-and-the-eyebrow-lines-up.md @@ -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 diff --git a/plugin.mod b/plugin.mod index 8d79b4d..4c43523 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "editorial" display_name = "Editorial" 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." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/editorial/footer.ninjatpl b/templates/overrides/editorial/footer.ninjatpl index e345bdd..00609cb 100644 --- a/templates/overrides/editorial/footer.ninjatpl +++ b/templates/overrides/editorial/footer.ninjatpl @@ -18,6 +18,7 @@ {% if logo %}{{ companyName }}{% elif companyName %}{{ companyName }}{% endif %} {% if tagline %}

{{ tagline }}

{% endif %} +{% if address or email or phone %}
{% if address %}
{{ address }}
{% endif %}{% if email %}
{{ email }}
{% endif %}{% if phone %}
{{ phone }}
{% endif %}
{% endif %} {% if columns %}{% endif %} {{ newsletter() }} {{ sociallinks("justify-center") }} diff --git a/templates/overrides/editorial/hero.ninjatpl b/templates/overrides/editorial/hero.ninjatpl index 1905387..a98c654 100644 --- a/templates/overrides/editorial/hero.ninjatpl +++ b/templates/overrides/editorial/hero.ninjatpl @@ -11,7 +11,7 @@ {% set hasImage = backgroundImage %} {% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %} {% macro herocontent(align) %} -{% if eyebrowText %}
{{ eyebrowText }}
{% endif %} +{% if eyebrowText %}
{% if align == "center" %}{% endif %}{{ eyebrowText }}
{% endif %} {% if headlineText %}

{{ headlineText }}

{% endif %} {% if subText %}

{{ subText }}

{% endif %} {% if descText %}

{{ descText }}

{% endif %}