9 lines
246 B
HTML
9 lines
246 B
HTML
{{ $id := delimit (slice "gallery" (partial "functions/uid.html" .)) "-" }}
|
|
|
|
{{- $caption := .Get "caption" }}
|
|
|
|
|
|
<div id="{{ $id }}" class="gallery">
|
|
{{ .Inner }}
|
|
</div>
|
|
{{ with $caption }}<figcaption>{{ . | markdownify }}</figcaption>{{ end }} |