#!/bin/sh
echo ""
pandoc -t html5 <<.
$(for l in a c d w; do grep ^$l /usr/share/dict/words | shuf -n1; done)
Greetings traveler, and welcome to my casa on the interwebs.
I never know what to say on these index pages...
## Other stuff here
$(for static in /var/www/acdw.casa/*; do
page="${static##*/}";
if test -f "$static" || test -d "$static";
then printf -- '- [%s](%s)\n' "$page" "/$page";
fi; done)
$(for dynamic in /home/acdw/Sync/www/*
do
page="${dynamic##*/}";
if test -x "$dynamic" && ! test index = "$page";
then printf -- '- [%s](%s)\n' "$page" "/$page";
fi; done)