{# FOOTER REGION — one self-contained table below the body. Presentation is a parameter here (unlike containers): background_color, an optional full box, and an optional sign-off image. The disclaimer is raw and UNWRAPPED — a
— so caller HTML renders correctly. The copyright + links line always renders. Square corners: Outlook ignores border-radius, so the box is a plain solid border. The box's colours arrive RESOLVED, from Footer.theme_context() — an unset field and the theme's token reach the markup by the same path, so there is no fallback logic here and no second source to drift. text_color collapses the disclaimer's and the copyright row's two tokens into one when set; see that method for why that is the right coarseness. Link colour stays the theme's accent: the links are anchors, not box text. The band is a 680px card carrying class="email-container", so a custom background lands on a surface aligned with the body — not a full-bleed wrapper band (measured, #99; the epic had flagged the opposite as a risk). Leaving the links on the accent was checked rather than assumed: on a dark caller-supplied ground the accent reads at 3.87:1, slightly BETTER than the 3.35:1 it has on the theme's own wrapper. So the non-goal holds — no per-link colour field is needed. (Neither figure clears 4.5:1; that is a pre-existing property of the shipped palette, and contrast is a recommendation here, not a validated rule.) The copyright row is a LinkRow (#100), resolved in Footer.context(): one key for the copyright (already HTML — the default keeps the © ENTITY, since a bare U+00A9 mis-decoded as latin-1 renders as a mojibake pair) and a list for the links, so a footer can add or drop one without forking this file. An empty list renders the copyright with no separator after it. Context: align, border, image, image_alt, image_width, disclaimer, unsubscribe_label, view_in_browser_label (region); footer_background, footer_text, footer_text_muted, footer_border (resolved); firm_name, current_year, unsubscribe_url, view_in_browser_url (facts). #}
|
{% if image %}
{{ disclaimer }}
{% endif %}
{{ copyright_html }}{% if footer_links %} · {% endif +%} {% for link in footer_links %} {{ link.label | escape_html }} {% if not loop.last %} · {% endif %} {% endfor %} |