From 3e818059718641b1750a41c9a2738b286f4b36f8 Mon Sep 17 00:00:00 2001 From: Alex Haslam Date: Wed, 20 Dec 2023 15:01:03 +0000 Subject: [PATCH] Don't put margin around each keyword --- layouts/shortcodes/keyword.html | 16 +++++++--------- layouts/shortcodes/keywordList.html | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/layouts/shortcodes/keyword.html b/layouts/shortcodes/keyword.html index a954847a..ec870a0d 100644 --- a/layouts/shortcodes/keyword.html +++ b/layouts/shortcodes/keyword.html @@ -1,12 +1,10 @@ {{ $icon := .Get "icon"}} - - - - {{if $icon}} - {{ partial "icon" $icon }} - {{ end }} {{- .Inner | markdownify -}} - + + + {{if $icon}} + {{ partial "icon" $icon }} + {{ end }} {{- .Inner | markdownify -}} diff --git a/layouts/shortcodes/keywordList.html b/layouts/shortcodes/keywordList.html index ae87a068..22d89c60 100644 --- a/layouts/shortcodes/keywordList.html +++ b/layouts/shortcodes/keywordList.html @@ -1 +1 @@ -
{{- .Inner -}}
+
{{- .Inner -}}