wowana.me
website source
commit 907535266bf433444fd078c046f9700c12f9877d parent cb1c762397eb9602395b628a29346c541f16d610 Author: opal hart <opal@wowana.me> Date: Fri, 10 May 2019 06:10:03 +0000 touch files to correct date in postproc Diffstat:
M | postproc.sh | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/postproc.sh b/postproc.sh @@ -11,6 +11,8 @@ if test -n "$date"; then iso="$(date -Iseconds -d$date)" human="$(date +'%Y %b %d' -d$date)" datepat="s@<!--\[time.*]-->@<time datetime='$iso' title='$iso'>$human</time>@;" + # update modified time here because we already parsed the date + touch -cd"$date" "${filename/.part.xht/.md}" fi <"$filename" sed \