Fix quote indentation

This commit is contained in:
Will Faught
2024-06-04 01:01:33 -07:00
parent 852f1b629f
commit bc3850f91e

View File

@@ -5,10 +5,12 @@
{{ errorf "layouts/shortcodes/paige/quote.html: no content" }}
{{ end }}
<div class="paige-quote">
<blockquote class="blockquote">{{ $content }}</blockquote>
{{/* The markup below cannot be indented due to nested shortcodes within Markdown. */}}
{{ with $cite }}
<div class="blockquote-footer">{{ . }}</div>
{{ end }}
<div class="paige-quote">
<blockquote class="blockquote">{{ $content }}</blockquote>
{{ with $cite }}
<div class="blockquote-footer">{{ . }}</div>
{{ end }}
</div>