cupper-hugo-theme/layouts/shortcodes/blockquote.html
Tanya Bouman a3a0104a3e
blockquote: apply markdown to author (#75)
Signed-off-by: Tanya Bouman <tanyabouman@gmail.com>

Signed-off-by: Tanya Bouman <tanyabouman@gmail.com>
2022-08-15 14:11:21 -05:00

11 lines
233 B
HTML

{{ $quote := .Inner }}
<blockquote class="blockquote">
<p>
{{ $quote | markdownify }}
{{ with (.Get "author") }}
<br>
<span class="author">&mdash; {{ . | markdownify }}</span>
{{ end }}
</p>
</blockquote>