Allow for credits in image positions

This commit is contained in:
2024-08-09 15:46:18 +02:00
parent bd1076113f
commit acbd51bcd7
3 changed files with 18 additions and 4 deletions

View File

@@ -24,4 +24,10 @@
src="{{ $img.RelPermalink }}"
>
</a>
{{ with .Get "credits" }}
<div class="credits">Foto: {{ . }}</div>
{{ end }}
{{ with .Get "caption" }}
<caption>{{ . }}</caption>
{{ end }}
</figure>