#!/bin/sh
rm -r dest || true
mkdir dest
cat > wpisy/kronika.html << EOF
Ostatnie wpisy
RSS
EOF
for f in `find wpisy/20* -name '*.md' | sort -r`; do
path=`echo $f | sed 's/wpisy\///;s/.md//'`
echo "
$path
" >> wpisy/kronika.html
done
echo "
" >> wpisy/kronika.html
./ssg5 wpisy dest "19pdh" "https://19.niedzwiedzinski.cyou"