Files
paige-hugo/layouts/shortcodes/paige/quote.html
2023-03-04 11:23:56 -08:00

10 lines
254 B
HTML

{{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" | markdownify }}
{{ if not $content }}
{{ errorf "paige/quote: no content" }}
{{ end }}
<div class="paige-quote">
<blockquote class="blockquote">{{ $content }}</blockquote>
</div>