cerrado @ 3a1359b3ad03b2fdb3b9dc0df8629834f7419a08

 1{% import "git.gabrielgio.me/cerrado/pkg/git" %}
 2
 3{% func ListTags(name string, tags []*git.TagReference) %}
 4{% if len(tags) > 0 %}
 5<div class="event-list">
 6  {% for _, t := range tags %}
 7  <div class="event me-md-2">
 8    <div class="row ">
 9      <div class="col-4">
10       <a title="{%s t.HashString() %}" href="/{%s name %}/commit/{%s t.HashString() %}">{%s t.ShortName() %}</a>
11      </div>
12      <div class="col-8">
13        <div class="float-end">
14          <a href="/{%s name %}/archive/{%s t.ShortName() %}.tar.gz">tar.gz</a>
15          <a href="/{%s name %}/tree/{%s t.ShortName() %}/">tree</a>
16          <a href="/{%s name %}/log/{%s t.ShortName() %}/">log</a>
17        </div>
18      </div>
19    </div>
20    {% if t.Message() != "" %}
21    <div class="code-view">
22      <pre>{%s t.Message() %}</pre>
23    </div>
24    {% endif %}
25  </div>
26  {% endfor %}
27</div>
28{% else %}
29    <p> No tags </p>
30{% endif %}
31{% endfunc %}