Sha256: 655d03e4905f488b16af32a62313d6d20a71760e4b769196629585e14576d620

Contents?: true

Size: 314 Bytes

Versions: 3

Compression:

Stored size: 314 Bytes

Contents

{%- capture api -%}
Render an alert. Inputs are `type` (primary, dark, ...), `markdown` (the content).
{%- endcapture -%}
{%- include api/save.html -%}
<div class="alert{% if include.type %} alert-{{ include.type }}{% endif %}" role="alert">
{{ include.body | markdownify | remove: '<p>' |remove: '</p>' }}
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-any-theme-0.1.2 _includes/components/alert.html
jekyll-any-theme-0.1.1 _includes/components/alert.html
jekyll-any-theme-0.1.0 _includes/components/alert.html