2 <a href='[% c.uri_for(action, {h=HEAD}) %]'>HEAD</a>
3 [% IF log_lines.size == 50 %]
4 <a href='[% c.uri_for(action, {pg=page + 1, h=commit.sha1}) %]'>next</a>
6 [% IF log_lines.first.sha1 != commit.sha1 %]
7 <a href='[% c.uri_for(action, {pg=page - 1, h=commit.sha1}) %]'>prev</a>