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/icon.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/shortcodes/icon.html b/layouts/shortcodes/icon.html
index 5f0ac84..eac8ad6 100644
--- a/layouts/shortcodes/icon.html
+++ b/layouts/shortcodes/icon.html
@@ -1,6 +1,6 @@
{{- $src := .Get 0 }}
{{- $alt := .Get 1 }}
{{- $modifier := .Get 2 -}}
-<figure {{ with $modifier }}class='icon_{{ . }}'{{ end }}>
- <img src = '/images/{{ $src }}' alt = '{{ $alt }}' class = 'icon'>
+<figure {{ with $modifier }}class="icon_{{ . }}"{{ end }}>
+ <img src="/images/{{ $src }}" alt="{{ $alt }}" class="icon">
</figure>
--
Gitblit v1.10.0