hugo-theme-relearn/layouts/shortcodes/notice.html

7 lines
211 B
HTML
Raw Normal View History

{{- $_hugo_config := `{ "version": 1 }` }}
{{- $style := .Get 0 }}
{{- $title := .Get 1 | default ($style | T) }}
<div class="notices {{ $style }}">
2021-08-23 23:57:56 +02:00
<div class="label">{{ $title }}</div>
2022-02-06 17:10:50 +01:00
{{ .Inner -}}
</div>