aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_index.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-25 02:24:52 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-25 02:24:52 +0800
commit958d64cc922b2688c910e339748fa28a0ff540b7 (patch)
tree7e0ebe68ce9bf31b051514682e95ee88c0dbfbec /templates/repo_index.tmpl
parentRevert "Add prometheus" (diff)
downloadforge-958d64cc922b2688c910e339748fa28a0ff540b7.tar.gz
forge-958d64cc922b2688c910e339748fa28a0ff540b7.tar.zst
forge-958d64cc922b2688c910e339748fa28a0ff540b7.zip
Cache commit logs on the repo index page
Diffstat (limited to 'templates/repo_index.tmpl')
-rw-r--r--templates/repo_index.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl
index ba5ad9e..39e55cf 100644
--- a/templates/repo_index.tmpl
+++ b/templates/repo_index.tmpl
@@ -81,7 +81,7 @@
<tbody>
{{- range .commits -}}
<tr>
- <td class="commit-title"><a href="commit/{{- .ID -}}">{{- .Message | first_line -}}</a></td>
+ <td class="commit-title"><a href="commit/{{- .Hash -}}">{{- .Message | first_line -}}</a></td>
<td class="commit-author">
<a class="email-name" href="mailto:{{- .Author.Email -}}">{{- .Author.Name -}}</a>
</td>