diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-25 02:24:52 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-25 02:24:52 +0800 |
commit | 958d64cc922b2688c910e339748fa28a0ff540b7 (patch) | |
tree | 7e0ebe68ce9bf31b051514682e95ee88c0dbfbec /templates/repo_log.tmpl | |
parent | Revert "Add prometheus" (diff) | |
download | forge-958d64cc922b2688c910e339748fa28a0ff540b7.tar.gz forge-958d64cc922b2688c910e339748fa28a0ff540b7.tar.zst forge-958d64cc922b2688c910e339748fa28a0ff540b7.zip |
Cache commit logs on the repo index page
Diffstat (limited to 'templates/repo_log.tmpl')
-rw-r--r-- | templates/repo_log.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo_log.tmpl b/templates/repo_log.tmpl index ac5f554..2cb5867 100644 --- a/templates/repo_log.tmpl +++ b/templates/repo_log.tmpl @@ -27,7 +27,7 @@ <tbody> {{- range .commits -}} <tr> - <td class="commit-id"><a href="../commit/{{- .ID -}}">{{- .ID -}}</a></td> + <td class="commit-id"><a href="../commit/{{- .Hash -}}">{{- .Hash -}}</a></td> <td class="commit-title">{{- .Message | first_line -}}</td> <td class="commit-author"> <a class="email-name" href="mailto:{{- .Author.Email -}}">{{- .Author.Name -}}</a> |