From 6b898816a339c6375942e12a8cd0766c892699f3 Mon Sep 17 00:00:00 2001 From: Rik Veenboer Date: Tue, 12 Jan 2016 16:06:43 +0000 Subject: [PATCH] Only display camera model in photo page if this data exists --- _layouts/gallery-photo.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_layouts/gallery-photo.html b/_layouts/gallery-photo.html index f857c0e..9862cdd 100644 --- a/_layouts/gallery-photo.html +++ b/_layouts/gallery-photo.html @@ -54,8 +54,10 @@ layout: post
Date
{{ page.date|date:'%A, %B %d at %I:%M %p'|replace:' 0',' '|replace:' AM',' am'|replace:' PM',' pm' }} + {% if page.exif.aperture %}
Camera
-
{{ page.exif.make }} {{ page.exif.model }} +
{{ page.exif.make }} {{ page.exif.model }}
+ {% endif %} {% if page.exif.aperture %}
Aperture