Commit 836de9cc authored by XhmikosR's avatar XhmikosR
Browse files

callout.html: drop whitespace and better usage comment.

parent b5e6eb22
Showing with 7 additions and 3 deletions
+7 -3
{% comment %} allowed: info danger warning {% endcomment %}
{% assign css_class = include.type | default: "info" %}
{%- 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 }}
{{- include.content | markdownify -}}
</div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment