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

7 lines
215 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 21:57:56 +00:00
<div class="label">{{ $title }}</div>
{{- .Inner }}
</div>