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

10 lines
314 B
HTML
Raw Normal View History

2023-05-30 16:01:24 +00:00
<!-- {{- .Inner }} -->
{{- $_hugo_config := `{ "version": 1 }` }}
{{- partial "shortcodes/notice.html" (dict
"context" .Page
2023-01-23 21:35:43 +00:00
"color" (.Get "color")
"content" .Inner
"icon" (.Get "icon" | default (.Get 2))
"style" (.Get "style" | default (.Get 0))
"title" (.Get "title" | default (.Get 1))
) }}