From 67dad4f6ef906e78b3c6bb870e26e00b69b3b501 Mon Sep 17 00:00:00 2001
From: G.T. Smarmy <44213272+Protochy@users.noreply.github.com>
Date: Thu, 15 Jun 2023 08:19:42 +0000
Subject: [PATCH] Update button.html (#116)
---
layouts/shortcodes/button.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html
index 63da542..adc2ca4 100644
--- a/layouts/shortcodes/button.html
+++ b/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>
\ No newline at end of file
+<a href="{{ $link }}" class="button{{ with $modifier }} {{ . }}{{ end }}">{{- $label | markdownify -}}</a>
--
Gitblit v1.10.0