github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/docs/themes/hugo-theme-relearn/layouts/shortcodes/button.html (about) 1 {{- $_hugo_config := `{ "version": 1 }` }} 2 {{- if (.Get "icon-position") }} 3 {{- warnf "%q: DEPRECATED parameter 'icon-position' for shortcode 'button' found, use 'iconposition' instead" .Page.File.Filename }} 4 {{- end }} 5 {{- partial "shortcodes/button.html" (dict 6 "page" .Page 7 "color" (.Get "color") 8 "content" .Inner 9 "href" (.Get "href") 10 "icon" (.Get "icon") 11 "iconposition" ((.Get "iconposition") | default (.Get "icon-position")) 12 "style" (.Get "style") 13 "title" (.Get "title") 14 "target" (.Get "target") 15 "type" (.Get "type") 16 ) }}