website/layouts/shortcodes/alert.html

4 lines
220 B
HTML
Raw Permalink Normal View History

2021-03-09 18:56:02 +05:30
<div class="alert alert-warning d-flex" role="alert">
<div class="flex-shrink-1 alert-icon">{{ with .Get "icon" }}{{.}}{{ end }}</div>
<div class="w-100">{{ with .Get "text" }}{{ . | safeHTML }}{{ end }}</div>
</div>