=== modified file 'render_files' --- render_files 2017-11-06 22:58:38 +0000 +++ render_files 2017-11-06 22:45:39 +0000 @@ -1,7 +1,7 @@ #!/bin/sh render() { mkdir -p head/${1%/*} || exit $? - if test raw/"$1" -nt head.old/"$1".html -o '!' -e head.old/"$1".html; then + if test raw/"$1" -nt head.old/"$1".html; then escaped="head/$(printf '%s\n' "$1" | sed 's/[#%|\\]/\\&/').html" vim /dev/null 2>&1 raw/"$1" +'set modeline' +'e!' +'set nornu number fdm=manual' +TOhtml '+w! '"$escaped" '+qa!' touch -r raw/"$1" head/"$1".html