{{ $cite := .Get 0 | default (.Get "cite") }} {{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" | markdownify }} {{ if not $content }} {{ errorf "layouts/shortcodes/paige/quote.html: no content" }} {{ end }} {{/* The markup below cannot be indented due to nested shortcodes within Markdown. */}}
{{ $content }}{{ with $cite }} {{ end }}