html='
'
for entry in notes/*
do
filename=$(basename "$entry" .md)
timestamp=`git log --format=%ad --date=format:'%Y-%m-%d' -- $entry`
dest="/posts/$timestamp"
dest+="_$filename"
dest+=".html"
html+="- $timestamp"
html+="_$filename
"
done
html+="
"
echo $html