summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2024-12-29 23:38:05 -0500
committerJune McEnroe <june@causal.agency>2024-12-29 23:38:05 -0500
commitef8f3bec4b008b94495ef2888a38729cb96ee9cc (patch)
treec6deca376f33e59da51f16218ba7f56e98211040
parentUpdate film preset list with what I expect to keep shooting (diff)
downloadsrc-ef8f3bec4b008b94495ef2888a38729cb96ee9cc.tar.gz
src-ef8f3bec4b008b94495ef2888a38729cb96ee9cc.zip
Fancify the manual lens text
-rw-r--r--www/photo.causal.agency/generate.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/photo.causal.agency/generate.sh b/www/photo.causal.agency/generate.sh
index be673790..9652025e 100644
--- a/www/photo.causal.agency/generate.sh
+++ b/www/photo.causal.agency/generate.sh
@@ -47,7 +47,13 @@ page_head() {
 		body=$(encode $date/body)
 	fi
 	if test -f $date/lens; then
-		lens=$(encode $date/lens)
+		lens=$(
+			sed '
+				s,f/,ƒ/,
+				s/\([0-9]\)-\([0-9]\)/\1-\2/g
+			' $date/lens |
+			encode
+		)
 	else
 		lens=$(
 			identify -format '%[EXIF:LensModel]' \