hugo-theme-relearn/layouts/shortcodes/badge.html
Sören Weber ea59244858
footnotes: revert to old syntax for most shortcodes #547 #555
only keep new syntax for shortcodes in case its content may contain footnotes,
meaning block level Markdown
2023-06-03 22:58:23 +02:00

9 lines
No EOL
233 B
HTML

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