hugo-theme-relearn/layouts/shortcodes/notice.html
2021-07-16 19:48:48 +02:00

5 lines
199 B
HTML

{{ $_hugo_config := `{ "version": 1 }` }}
<div class="notices {{ .Get 0 }}" {{ if len .Params | eq 2 }} id="{{ .Get 1 }}" {{ end }}>
<div class="label">{{ .Get 0 | T }}</div>
{{ .Inner }}
</div>