From 065a59861a0a23e45b37def64238cc9f5054938f Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Thu, 5 Jun 2025 22:05:33 +0200 Subject: [PATCH] changed src of gallery photos --- .gitignore | 3 +-- src/pages/gallery.liquid | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 7f8a044..b419d67 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ .idea/ _site/ node_modules/ -src/static/gallery/ -package-lock.json \ No newline at end of file +package-lock.json diff --git a/src/pages/gallery.liquid b/src/pages/gallery.liquid index 8b983c8..31cae9e 100644 --- a/src/pages/gallery.liquid +++ b/src/pages/gallery.liquid @@ -6,7 +6,7 @@ layout: empty
- Photo + Photo
@@ -25,14 +25,14 @@ layout: empty let i = 1; function next() { - img.src = `/static/gallery/${photos[i++]}`; + img.src = `https://public.koendev.nl/${photos[i++]}`; if (i >= photos.length) { i = 0; } } function prev() { - img.src = `/static/gallery/${photos[i--]}`; + img.src = `https://public.koendev.nl/${photos[i--]}`; if (i < 0) { i = photos.length-1; }