Sha256: b670e8b0d7f33c8d605122efc9ab448541384262e758d57235b9a8f55dec4000
Contents?: true
Size: 766 Bytes
Versions: 3
Compression:
Stored size: 766 Bytes
Contents
{% assign icon = include.icon | default: 'exclamation-circle' %} <div x-data="{visible: true}" markdown="0"> <div class="notification {{ include.status | default: 'is-warning' }}" x-show.transition.duration.300ms="visible"> {% if include.dismissable %} <button class="delete" x-on:click="visible = false"></button> {% endif %} <article class="media"> {% unless include.icon %} <div class="media-left"> {% include icon.html icon=icon %} </div> {% endunless %} <div class="media-content"> <div class="content">{{ include.message | markdownify }}</div> </div> </article> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-opentoolbox-2.0.2 | _includes/notification.html |
jekyll-theme-opentoolbox-2.0.1 | _includes/notification.html |
jekyll-theme-opentoolbox-2.0.0 | _includes/notification.html |