This commit is contained in:
Denys Konovalov
2022-06-22 21:28:26 +02:00
parent 7850584848
commit 01c6b8cf06
672 changed files with 104739 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{%- 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>