hugo-theme-relearn/layouts/shortcodes/notice.html
2023-01-23 22:35:43 +01:00

9 lines
No EOL
287 B
HTML

{{- $_hugo_config := `{ "version": 1 }` }}
{{- partial "shortcodes/notice.html" (dict
"context" .
"color" (.Get "color")
"content" .Inner
"icon" (.Get "icon" | default (.Get 2))
"style" (.Get "style" | default (.Get 0))
"title" (.Get "title" | default (.Get 1))
) }}