diff options
author | June McEnroe <june@causal.agency> | 2024-06-10 17:13:08 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2024-06-10 17:13:08 -0400 |
commit | da2851683028837f8ae687a0d0ba941c3288c133 (patch) | |
tree | aa16ea079a0088b20db4551571a97f11fdd7a7c0 /www | |
parent | Resize using target pixel counts for consistency (diff) | |
download | src-da2851683028837f8ae687a0d0ba941c3288c133.tar.gz src-da2851683028837f8ae687a0d0ba941c3288c133.zip |
Cope with not having an EXIF info
Diffstat (limited to 'www')
-rw-r--r-- | www/photo.causal.agency/generate.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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() { <img src="../${preview}" alt="$(encode $description)"> </a> <figcaption> + EOF + if test -n "${ExposureTime}"; then + cat <<-EOF ${ExposureTime} · ƒ/$(bc -S 1 -e ${FNumber}) · $(bc -e ${FocalLength}) mm · ${PhotographicSensitivity} ISO + EOF + fi + cat <<-EOF <details> <summary>description</summary> $(encode $description) |