This repository has been archived on 2019-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
2018-06-08 18:44:48 +02:00

10 lines
351 B
HTML

{%- comment -%}
Usage: {% include callout.html content=callout type="type" %},
where content is a capture with the content
and type is one of: info (default), danger, warning
{%- endcomment -%}
{%- assign css_class = include.type | default: "info" -%}
<div class="bd-callout bd-callout-{{ css_class }}">
{{- include.content | markdownify -}}
</div>