hugo-theme-relearn/layouts/shortcodes/notice.html
2022-02-16 01:38:44 +01:00

9 lines
No EOL
259 B
HTML

{{- $_hugo_config := `{ "version": 1 }` }}
{{- $style := .Get 0 }}
{{- $title := .Get 1 | default ($style | T) }}
<div class="box notices {{ $style }}">
<div class="box-label">{{ $title }}</div>
<div class="box-content">
{{ .Inner }}
</div>
</div>