From da2851683028837f8ae687a0d0ba941c3288c133 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 10 Jun 2024 17:13:08 -0400 Subject: Cope with not having an EXIF info --- www/photo.causal.agency/generate.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/photo.causal.agency/generate.sh b/www/photo.causal.agency/generate.sh index d602d089..558b8a54 100644 --- a/www/photo.causal.agency/generate.sh +++ b/www/photo.causal.agency/generate.sh @@ -111,10 +111,16 @@ page_photo() { $(encode $description)
+ EOF + if test -n "${ExposureTime}"; then + cat <<-EOF ${ExposureTime} · ƒ/$(bc -S 1 -e ${FNumber}) · $(bc -e ${FocalLength}) mm · ${PhotographicSensitivity} ISO + EOF + fi + cat <<-EOF
description $(encode $description) -- cgit 1.4.1