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

9 lines
233 B
HTML
Raw Normal View History

{{- $_hugo_config := `{ "version": 1 }` }}
2022-12-01 00:37:09 +00:00
{{- partial "shortcodes/badge.html" (dict
"context" .Page
2023-01-23 21:35:43 +00:00
"color" (.Get "color")
2022-12-01 00:37:09 +00:00
"content" .Inner
2023-01-23 21:35:43 +00:00
"icon" (.Get "icon")
"style" (.Get "style")
"title" (.Get "title")
2022-12-01 00:37:09 +00:00
) }}