mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
9 lines
No EOL
259 B
HTML
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> |