templates: tree and log links for tags

This commit is contained in:
Anirudh Oppiliappan 2022-12-12 22:13:19 +05:30
parent 7a6ff3565e
commit 60e1092dbc
No known key found for this signature in database
GPG key ID: 8A93F96F78C5D4C4

View file

@ -19,10 +19,13 @@
</p>
{{ end }}
{{ if .tags }}
<h3>tags</h3>
{{ range .tags }}
<p>{{ .Name }}</p>
<strong>{{ .Name }}</strong>
<a href="/{{ $name }}/tree/{{ .Name }}/">browse</a>
<a href="/{{ $name }}/log/{{ .Name }}">log</a>
{{ if .Message }}
<p>{{ .Message }}</p>
<pre>{{ .Message }}</pre>
{{ end }}
{{ end }}
{{ end }}