#!/bin/sh datestamp=$(fragment-today) gallerydir=$(date --rfc-3339=date) printf "

%s

\n\n
\nfiles/photos/%s/index\n
" "$datestamp" "$gallerydir"