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