Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
185 B

  1. #!/bin/sh
  2. datestamp=$(today)
  3. gallerydir=$(date --rfc-3339=date)
  4. printf "<h1>%s</h1>\n\n<div class=photos>\n<include>files/photos/%s/index</include>\n</div>" "$datestamp" "$gallerydir"