cerrado @ master

 1{% import "github.com/go-git/go-git/v5/plumbing" %}
 2{% import "git.gabrielgio.me/cerrado/pkg/git" %}
 3
 4{% code
 5type GitItemRefsPage struct {
 6    Tags []*git.TagReference
 7    Branches []*plumbing.Reference
 8}
 9%}
10
11{% func (g *GitItemRefsPage) Nav(name, ref string) %}{%= GitItemNav(name, ref, Refs) %}{% endfunc %}
12
13{% func (g *GitItemRefsPage) GitContent(name, ref string) %}
14<div class="row">
15  <div class="col-md-8">
16    {%= ListTags(name, g.Tags) %}
17  </div>
18  <div class="col-md-4">
19    <div class="event-list">
20      {% for _, b := range g.Branches %}
21      <div class="row event">
22          <div class="col-4">
23           {%s b.Name().Short() %}
24          </div>
25          <div class="col-8">
26            <div class="float-end">
27              <a href="/{%s name %}/archive/{%s b.Name().Short() %}.tar.gz">tar.gz</a>
28              <a href="/{%s name %}/tree/{%s b.Name().Short() %}/">tree</a>
29              <a href="/{%s name %}/log/{%s b.Name().Short() %}/">log</a>
30            </div>
31          </div>
32      </div>
33      {% endfor %}
34    </div>
35  </div>
36</div>
37{% endfunc %}