aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/image-gallery.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-30 00:20:32 +0100
committerOscar Najera <hi@oscarnajera.com>2023-10-30 00:20:32 +0100
commit4c306311fd532aeb5a9c5e27f2aa3f5533cf8ad4 (patch)
treebff05878f3882e8ef7dbcd21eaf4389b97b2ec6d /layouts/partials/image-gallery.html
parent101bbe9ec5b1c19b586b7a33feb74751cdd9e7b9 (diff)
downloadhugo-minimalist-theme-4c306311fd532aeb5a9c5e27f2aa3f5533cf8ad4.tar.gz
hugo-minimalist-theme-4c306311fd532aeb5a9c5e27f2aa3f5533cf8ad4.tar.bz2
hugo-minimalist-theme-4c306311fd532aeb5a9c5e27f2aa3f5533cf8ad4.zip
Improve relative links
Diffstat (limited to 'layouts/partials/image-gallery.html')
-rw-r--r--layouts/partials/image-gallery.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/image-gallery.html b/layouts/partials/image-gallery.html
index d3a5fae..943370c 100644
--- a/layouts/partials/image-gallery.html
+++ b/layouts/partials/image-gallery.html
@@ -12,13 +12,13 @@
/>
<img
class="gallery__img"
- src="{{ (.Fill "1152x768").Permalink }}"
+ src="{{ (.Fill "1152x768").RelPermalink }}"
alt=""
loading="lazy"
/>
<label for="img-{{ $id }}" class="gallery__thumb">
<img
- src="{{ (.Fill "150x100").Permalink }}"
+ src="{{ (.Fill "150x100").RelPermalink }}"
alt=""
loading="lazy"
/>