Allow for credits in image positions
This commit is contained in:
@@ -24,4 +24,10 @@
|
||||
src="{{ $img.RelPermalink }}"
|
||||
>
|
||||
</a>
|
||||
{{ with .Get "credits" }}
|
||||
<div class="credits">Foto: {{ . }}</div>
|
||||
{{ end }}
|
||||
{{ with .Get "caption" }}
|
||||
<caption>{{ . }}</caption>
|
||||
{{ end }}
|
||||
</figure>
|
||||
|
||||
Reference in New Issue
Block a user