1
Fork 0

Fix gallery images

This commit is contained in:
Jake Howard 2017-08-07 14:00:22 +01:00
parent 1b0d8c7cd5
commit 68da729d65
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -10,7 +10,7 @@
<div id="light-gallery" class="row">
{{ range $index, $element := $photoset_orig.photo }}
{{ $thumb := (index $photoset_thumb.photo $index).url_sq }}
<a href="{{ $element.url_o }}" title="{{ $element.title }}" class="col-2">
<a href="{{ $element.url_l }}" title="{{ $element.title }}" class="col-2">
<img src="{{ $thumb }}" alt="{{ $element.title }}"/>
</a>
{{ end }}