abdullahtarawneh.com/layouts/shortcodes/figquote.html

8 lines
149 B
HTML

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