From 72ca13c4d86cfe09d03c79c160d19db63f24781b Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 7 Jun 2024 00:57:52 -0700 Subject: [PATCH] Dedent markup in icon shortcode --- layouts/shortcodes/paige/icon.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/layouts/shortcodes/paige/icon.html b/layouts/shortcodes/paige/icon.html index 71feff16..94ef254f 100644 --- a/layouts/shortcodes/paige/icon.html +++ b/layouts/shortcodes/paige/icon.html @@ -8,14 +8,16 @@ {{ errorf "layouts/shortcodes/paige/icon.html: no class" }} {{ end }} +{{/* The markup below cannot be indented due to nested shortcodes within Markdown. */}} + - {{ with $url }} - - {{ end }} +{{ with $url }} + +{{ end }} - {{ with $title }}{{ . }}{{ end }} +{{ with $title }}{{ . }}{{ end }} - {{ if $url }} - - {{ end }} +{{ if $url }} + +{{ end }}