+[%- BLOCK gitlog ;
+ commitref = clog.replace('^commit ([0-9A-Fa-f]+)(.|\n)*','$1');
+ logtail = clog.replace('^commit ([0-9A-Fa-f]+)','');
+ logtail = logtail.replace('\n',' ');
+
+%]<a href="[% giturl ; commitref %]">[% commitref %]</a>[% logtail | html %]
+[% END -%]
+<h1>Exim Build Farm Log</h1>