<div class="gmail_quote">On Tue, Mar 20, 2012 at 17:08, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Most html files are generated and we know their dates:</div><br><div><div>$ hg log --limit 1 --template '{date|date}' include/petscsnes.h</div><div>Mon Mar 19 22:42:51 2012 -0500</div></div>
<div><br></div><div>Similarly for inserting the date-string into the non-generated pages.</div></blockquote></div><br><div>This is useful:</div><div><br></div><div><a href="http://hgbook.red-bean.com/read/customizing-the-output-of-mercurial.html#sec:template:filter">http://hgbook.red-bean.com/read/customizing-the-output-of-mercurial.html#sec:template:filter</a></div>