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

Ray
16.57.2023 3b59663d953bf7dc14fcb0dde0d9b921025f8fc2
Merge branch 'onweru:master' into master
1 files modified
2 ■■■ changed files
layouts/shortcodes/button.html 2 ●●● 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>
<a href="{{ $link }}" class="button{{ with $modifier }} {{ . }}{{ end }}">{{- $label | markdownify -}}</a>