mirror of https://github.com/onweru/compose.git

weru
27.13.2020 5fa16271e13fc700324106558121daf9dc96b814
edit shortcode
1 files modified
6 ■■■■ changed files
layouts/shortcodes/button.html 6 ●●●● patch | view | raw | blame | history
layouts/shortcodes/button.html
@@ -1,4 +1,4 @@
{{- $link := .Get 0 -}}
{{- $label := .Get 1 }}
{{- $modifier := .Get 2 }}
<a href="{{ $link }}" class="button{{ with $modifier }} {{ . }}{{ end }}">{{- $label -}}</a>
{{- $label := .Get 1 -}}
{{- $modifier := .Get 2 -}}
<a href="{{ $link }}" class="button{{ with $modifier }} {{ . }}{{ end }}">{{- $label -}}</a>