Mercurial > dottes
diff makeWeb.sh @ 355:b233893b4c51
Add date of last change to bottom of web tune page.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Mon, 19 Aug 2013 09:59:46 +0100 |
parents | 27f29e8aafea |
children | 265539086836 |
line wrap: on
line diff
--- a/makeWeb.sh Mon Aug 19 09:59:28 2013 +0100 +++ b/makeWeb.sh Mon Aug 19 09:59:46 2013 +0100 @@ -82,6 +82,7 @@ if [ -n "$credit" ]; then creditvisibility="yes" fi + lastchanged=`hg log --limit 1 --template "{date|shortdate}" $filename` # Copy the ABC into the web. cp $filename $webdir @@ -100,6 +101,7 @@ -e "s/@CHANGEVISIBILITY@/${changevisibility}/" \ -e "s/@CREDIT@/${credit}/" \ -e "s/@CREDITVISIBILITY@/${creditvisibility}/" \ + -e "s/@LASTCHANGED@/${lastchanged}/" \ -e "s/@TUNE@/${name}/" dottes.html.tune > $webdir/$tunepage sed -e "s/@TITLE@/${title//&/\&}/" \