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' }}