From: XhmikosR Date: Mon, 12 Mar 2018 19:20:14 +0000 (+0200) Subject: callout.html: drop whitespace and better usage comment. X-Git-Tag: v4.1.0~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=836de9ccfa201eefb02c97c61a2f3a50e2f2f219;p=thirdparty%2Fbootstrap.git callout.html: drop whitespace and better usage comment. --- diff --git a/_includes/callout.html b/_includes/callout.html index 8ee72de998..ff9450dc44 100644 --- a/_includes/callout.html +++ b/_includes/callout.html @@ -1,5 +1,9 @@ -{% 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" -%}
- {{ include.content | markdownify }} + {{- include.content | markdownify -}}