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

9 lines
259 B
HTML
Raw Normal View History

{{- $_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>