From 8da9e727a22bba211f9366532d4788148eaec632 Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Mon, 1 Jul 2024 22:55:36 -0400 Subject: [PATCH] fix --- _config.yml | 1 + _layouts/gallery_page.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 95469f4..81c5656 100644 --- a/_config.yml +++ b/_config.yml @@ -32,3 +32,4 @@ gallery: san_francisco: name: "San Francisco" best_image: 20220818-DSC04841-Enhanced.jpg + date: "2022/04/08" diff --git a/_layouts/gallery_page.html b/_layouts/gallery_page.html index cd1d0f8..1a2e696 100644 --- a/_layouts/gallery_page.html +++ b/_layouts/gallery_page.html @@ -36,7 +36,7 @@ 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 = "#{page.path.split('/index.html')[0]}/#{image[0]}" %} + {% assign image_path = '/usr/local/jekyll/sites/photos.kameronkenny.com/photos/' | append: page.gallery | append: '/' | append: image[0] %} {% capture has_exif %}{{ image_path | exif: "exif?" }}{% endcapture %} {% if has_exif %} Camera: {{ image_path | exif: 'model' }}