diff --git a/templates/shortcodes/info_notice.md b/templates/shortcodes/info_notice.md index 5b33549..c920e1e 100644 --- a/templates/shortcodes/info_notice.md +++ b/templates/shortcodes/info_notice.md @@ -1,3 +1,7 @@ {% set class = class | default(value='') %} {% if float %}{% set class = class ~ "float " %}{% endif %} +{% if summary %} +
{{ summary | markdown(inline=true) }}{{ body | markdown }}
+{% else %}
{{ body | markdown }}
+{% endif %}