sillon-fictionnel/themes/writeonly/layouts/shortcodes/alert.html

3 lines
119 B
HTML

<div class="alert {{ with .Get 0 }}{{ printf "alert-%s" . }}{{ else }}alert-secondary{{ end }}">
{{ .Inner }}
</div>