From a5de5c7b619e820def4f7691ba7c0c76ac2241da Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Mon, 1 Jul 2024 19:03:55 -0400 Subject: [PATCH] prefix --- _layouts/gallery_page.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_layouts/gallery_page.html b/_layouts/gallery_page.html index 1ad82fa..ef63f69 100644 --- a/_layouts/gallery_page.html +++ b/_layouts/gallery_page.html @@ -36,7 +36,8 @@ width="{{ image[1] | divided_by: site.gallery.thumbnail_size.retina }}" height="{{ site.gallery.thumbnail_size.y | divided_by: site.gallery.thumbnail_size.retina }}" /> - {% assign image_path = "/usr/local/jekyll/sites/photos.kameronkenny.com/_site/photos/san_francisco/" + image[0] %} + {% assign image_root = "/usr/local/jekyll/sites/photos.kameronkenny.com/_site/photos/san_francisco/" } + {% assign image_path = image_root.concat(image[0]) %} {% capture has_exif %}{{ image_path | exif: "exif?" }}{% endcapture %} {% if has_exif %} Camera: {{ image_path | exif: 'model' }}