hugo-tufte/layouts/shortcodes/button.html
2023-04-14 17:27:20 +01:00

15 lines
539 B
HTML

{{- $_hugo_config := `{ "version": 1 }` }}
{{- partial "shortcodes/button.html" (dict
"context" .
"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")
) }}
{{/* https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/shortcodes/button.html */}}