Hilbish/website/themes/hsh/layouts/shortcodes/warning.html

11 lines
327 B
HTML

<div class="alert alert-warning d-flex align-items-center" role="alert">
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Warning:"><use xlink:href="#exclamation-triangle-fill"/></svg>
<div>
{{ if .IsNamedParams }}
{{ .Get "msg" }}
{{ else }}
{{ .Get 0 }}
{{ end }}
</div>
</div>