fix
This commit is contained in:
parent
00b97dc6a3
commit
8da9e727a2
|
@ -32,3 +32,4 @@ gallery:
|
||||||
san_francisco:
|
san_francisco:
|
||||||
name: "San Francisco"
|
name: "San Francisco"
|
||||||
best_image: 20220818-DSC04841-Enhanced.jpg
|
best_image: 20220818-DSC04841-Enhanced.jpg
|
||||||
|
date: "2022/04/08"
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
width="{{ image[1] | divided_by: site.gallery.thumbnail_size.retina }}"
|
width="{{ image[1] | divided_by: site.gallery.thumbnail_size.retina }}"
|
||||||
height="{{ site.gallery.thumbnail_size.y | divided_by: site.gallery.thumbnail_size.retina }}" />
|
height="{{ site.gallery.thumbnail_size.y | divided_by: site.gallery.thumbnail_size.retina }}" />
|
||||||
</a>
|
</a>
|
||||||
{% 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 %}
|
{% capture has_exif %}{{ image_path | exif: "exif?" }}{% endcapture %}
|
||||||
{% if has_exif %}
|
{% if has_exif %}
|
||||||
Camera: {{ image_path | exif: 'model' }}
|
Camera: {{ image_path | exif: 'model' }}
|
||||||
|
|
Loading…
Reference in New Issue