diff options
Diffstat (limited to '')
-rw-r--r-- | www/photo.causal.agency/generate.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/www/photo.causal.agency/generate.sh b/www/photo.causal.agency/generate.sh index fbc3efd6..26279229 100644 --- a/www/photo.causal.agency/generate.sh +++ b/www/photo.causal.agency/generate.sh @@ -41,8 +41,11 @@ page_title() { page_head() { local date=$1 local title=$(page_title $date) - local lens film + local body lens film + if test -f $date/body; then + body=$(encode $date/body) + fi if test -f $date/lens; then lens=$(encode $date/lens) else @@ -75,7 +78,7 @@ page_head() { details { max-width: 78ch; margin: 0.5em auto; } </style> <h1>${title}</h1> - <p>๐ท ${lens}${film:+ ๐๏ธ }${film:-}</p> + <p>๐ท ${body:-}${body:+ ยท }${lens}${film:+ ๐๏ธ }${film:-}</p> EOF } |