From e79e038b514359b6bb896d0a3ae13dfcef4d8c57 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 1 Dec 2020 16:48:16 +0100 Subject: [PATCH] Add optional 'class' attribute to image shortcode --- layouts/shortcodes/image.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html index b9187a2..0949b7c 100644 --- a/layouts/shortcodes/image.html +++ b/layouts/shortcodes/image.html @@ -1,4 +1,4 @@
- {{ .Get +
{{ .Get "alt" }}