hugo-theme-relearn/layouts/shortcodes/button.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

13 lines
No EOL
443 B
HTML

{{- $_hugo_config := `{ "version": 1 }` }}
{{- partial "shortcodes/button.html" (dict
"context" .Page
"color" (.Get "color")
"content" .Inner
"href" (.Get "href")
"icon" (.Get "icon")
"iconposition" ((.Get "iconposition") | default (.Get "icon-position"))
"style" (.Get "style")
"title" (.Get "title")
"target" (.Get "target")
"type" (.Get "type")
) }}