Dragon-Linux/layouts/shortcodes/captioned.html
2025-07-13 12:26:59 -04:00

6 lines
225 B
HTML

<figure class="captioned">{{ .Inner }}
<figcaption>
{{ with .Get "caption"}}<p>{{.}}</p>{{end}}
{{ with .Get "link"}}<p><a href={{.}}>{{end}}{{ with .Get "source"}}Source: {{.}}</a>{{end}}</p>
</figcaption>
</figure>