cupper-hugo-theme/themes/infusion/layouts/shortcodes/figure.html

8 lines
232 B
HTML
Raw Normal View History

2017-06-15 10:41:44 +02:00
{{ $caption := .Get "caption" }}
<figure role="group" aria-describedby="caption-{{ $caption | md5 }}">
2017-06-15 10:41:44 +02:00
{{ .Inner }}
<figcaption id="caption-{{ $caption | md5 }}">
2017-07-10 20:53:24 +02:00
{{ .Get "caption" | markdownify }}
2017-06-15 10:41:44 +02:00
</figcaption>
</figure>