Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/cupper-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/gallery.html')
-rw-r--r--layouts/shortcodes/gallery.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/gallery.html b/layouts/shortcodes/gallery.html
index d3e972e..d1c7be0 100644
--- a/layouts/shortcodes/gallery.html
+++ b/layouts/shortcodes/gallery.html
@@ -20,8 +20,8 @@
{{ end }}
<div class="gallery">
- <a href="{{ $original.Permalink }}" class="img-link">
- <img src="{{ $new.Permalink }}">
+ <a href="{{ $original.RelPermalink }}" class="img-link">
+ <img src="{{ $new.RelPermalink }}">
</a>
</div>