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

12 lines
400 B
HTML
Raw Normal View History

{{- partial "shortcodes/button.html" (dict
"context" .Page
2023-01-23 21:35:43 +00:00
"color" (.Get "color")
"content" .Inner
"href" (.Get "href")
"icon" (.Get "icon")
"iconposition" ((.Get "iconposition") | default (.Get "icon-position"))
"style" (.Get "style")
"title" (.Get "title")
2022-10-19 16:03:38 +00:00
"target" (.Get "target")
2022-11-28 17:42:51 +00:00
"type" (.Get "type")
) }}