Dedent markup in icon shortcode
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
{{ errorf "layouts/shortcodes/paige/icon.html: no class" }}
|
{{ errorf "layouts/shortcodes/paige/icon.html: no class" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* The markup below cannot be indented due to nested shortcodes within Markdown. */}}
|
||||||
|
|
||||||
<span class="paige-icon">
|
<span class="paige-icon">
|
||||||
{{ with $url }}
|
{{ with $url }}
|
||||||
<a href="{{ . }}" {{ with $target }} target="{{ . }}" {{ end }} {{ with $title }} title="{{ . }}" {{ end }}>
|
<a href="{{ . }}" {{ with $target }} target="{{ . }}" {{ end }} {{ with $title }} title="{{ . }}" {{ end }}>
|
||||||
|
Reference in New Issue
Block a user