website/themes/serene/templates/shortcodes/alert.html

12 lines
332 B
HTML

<blockquote class="callout alert">
{% set icon = load_data(path="static/icon/alert.svg") %}
<div class="icon">
{{ icon | safe }}
</div>
<div class="content">
{% if header %}
<p><strong>{{ header }}</strong></p>
{% endif %}
{{ body | markdown | safe }}
</div>
</blockquote>