mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-26 07:19:45 +01:00
16 lines
539 B
HTML
16 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 */}}
|