From 103d3d37324d8629d7dc1d549a38fbb8981b1f00 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 27 Oct 2014 11:23:20 -0700 Subject: Watermark old versions of the spec. --- Makefile | 3 ++- template.html | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 30bf33a..c10a633 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,8 @@ _site/spec.html: spec.txt (echo "% CommonMark Spec\n";\ for vers in $(shell cd _site; ls -d -t 0.*) ; do \ date=`stat -t "%Y-%m-%d" -f "%Sa" _site/$$vers/index.html`; \ - echo "- [Version $$vers ($$date)](/$$vers/)" ; done) | \ + echo "- [Version $$vers ($$date)](/$$vers/)" ; \ + perl -pe 's/
<\/div>/