abdullahtarawneh.com/layouts/shortcodes/figquote.html

8 lines
No EOL
149 B
HTML

<figure class="quote">
<blockquote>
{{ .Inner }}
</blockquote>
{{ with .Get "cite" }}
<figcaption><cite>{{.}}</cite></figcaption>
{{ end }}
</figure>