Add typed commit links

This commit is contained in:
Joscha 2023-08-10 22:04:30 +02:00
parent 0253d2d90b
commit c3c597897c
10 changed files with 82 additions and 69 deletions

View file

@ -10,11 +10,7 @@
<dl>
{% for ref in tracked_refs %}
<dt>{{ ref.name }}</dt>
<dd>
<a href="{{ base.root }}commit/{{ ref.hash }}">
{% call util::commit_short(ref.short, ref.reachable) %}
</a>
</dd>
<dd>{{ ref.commit|safe }}</dd>
{% endfor %}
</dl>
</details>
@ -23,11 +19,7 @@
<dl>
{% for ref in untracked_refs %}
<dt>{{ ref.name }}</dt>
<dd>
<a href="{{ base.root }}commit/{{ ref.hash }}">
{% call util::commit_short(ref.short, ref.reachable) %}
</a>
</dd>
<dd>{{ ref.commit|safe }}</dd>
{% endfor %}
</dl>
</details>