{#- Reusable notification template (any feature can use it). Context: subject, preheader : strings (preheader = inbox preview line) heading : big title line greeting : optional "Hello X," paragraphs : list[str] body paragraphs details : optional list[{label, value}] -> a key/value table primary_action : optional {url, label} (dark bulletproof button) secondary_action : optional {url, label} (outline-style link button) footer_note : optional override line in the footer -#} {% extends "base.html" %} {% block content %} {% if heading %}
{{ greeting }}
{% endif %} {% for p in paragraphs or [] %}{{ p }}
{% endfor %} {% if details %}| {{ row.label }} | {{ row.value }} |
If a button doesn't work, copy this link into your browser:
{{ (primary_action and primary_action.url) or (secondary_action and secondary_action.url) }}