hugo-theme-relearn/layouts/shortcodes/notice.html
2023-05-18 14:01:50 +02:00

9 lines
No EOL
291 B
HTML

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