From 89a1fd5dee1d5620b0458276ad44aea714e6939a Mon Sep 17 00:00:00 2001
From: weru <onewesh@gmail.com>
Date: Tue, 06 Oct 2020 11:07:22 +0000
Subject: [PATCH] update
---
layouts/shortcodes/button.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html
index eb9aab3..e125efa 100644
--- a/layouts/shortcodes/button.html
+++ b/layouts/shortcodes/button.html
@@ -10,9 +10,9 @@
{{- $label = index $details 0 }}
{{- $modifier = printf "button_%s" (trim (index $details 1) " ") }}
{{- end -}}
-<a href = '{{ $link }}' class = 'button {{ $modifier }}'>
+<a href="{{ $link }}" class="button {{ $modifier }}">
{{- with $icon -}}
- <img src="/images/{{ . }}" alt="icon">
+ <img src="/images/{{ . }}" alt="icon">
{{- end }}
{{- $label -}}
</a>
--
Gitblit v1.10.0