From 14772332f824a0bebd1db888648a6b81c0ba6de5 Mon Sep 17 00:00:00 2001 From: notcarbide <41094677+notcarbide@users.noreply.github.com> Date: Thu, 5 Nov 2020 10:49:51 -0600 Subject: layouts: shortcodes: Add shortcode to allow CSS to apply to post images --- layouts/shortcodes/image.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 layouts/shortcodes/image.html diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html new file mode 100644 index 0000000..3611976 --- /dev/null +++ b/layouts/shortcodes/image.html @@ -0,0 +1,8 @@ +{{ if .IsNamedParams }} + + {{ .Get + +{{ else }} + +{{ end }} + -- cgit v1.2.3