cerrado @ v0.0.13

 1{% import "github.com/go-git/go-git/v5/plumbing/object" %}
 2
 3{% func Commit(name string, c *object.Commit, showTar bool) %}
 4  <div class="row event">
 5    <div class="row">
 6      <div class="col-md">
 7       <a title="{%s c.Hash.String() %}" href="/{%s name %}/commit/{%s c.Hash.String() %}">{%s c.Hash.String()[0:8] %}</a>
 8      </div>
 9      {% if showTar %}
10      <div class="col-md text-md-center">
11       <a title="tar.gz for {%s c.Hash.String() %}" href="/{%s name %}/archive/{%s c.Hash.String() %}.tar.gz">tar.gz</a>
12      </div>
13      {% endif %}
14      <div class="col-md text-md-end">
15       <a title="{%s c.Committer.Email %}" href="mailto:{%s c.Committer.Email %}">{%s c.Committer.Name %}</a>
16      </div>
17    </div>
18    <div class="code-view">
19     <pre>{%s c.Message %}</pre>
20    </div>
21  </div>
22{% endfunc %}