Jekyll-powered static site bunker.org.ua
. That's it.
Set each file timestamp to the time of the last commit:
for f in `git ls-files`; do d=`git log -1 --pretty=format:%cI $f`; touch -d $d $f; done
Update mtime
field in front matter, based on file mtime:
for f in `find . -type f -name '*.md' | grep -v README`; do d=`date "+%F %X %z" -r $f`; sed "s/^mtime:.*$/mtime: $d/" -i $f; done