Dedent markup in icon shortcode

This commit is contained in:
Will Faught
2024-06-07 00:57:52 -07:00
parent 1c4dfd541e
commit 72ca13c4d8

View File

@@ -8,6 +8,8 @@
{{ errorf "layouts/shortcodes/paige/icon.html: no class" }}
{{ end }}
{{/* The markup below cannot be indented due to nested shortcodes within Markdown. */}}
<span class="paige-icon">
{{ with $url }}
<a href="{{ . }}" {{ with $target }} target="{{ . }}" {{ end }} {{ with $title }} title="{{ . }}" {{ end }}>