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
1 changed files with 5 additions and 2 deletions

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 }}