website/layouts/shortcodes/alert.html
2021-03-09 18:56:02 +05:30

4 lines
No EOL
220 B
HTML

<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>