aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-12 20:09:59 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-12 20:09:59 +0800
commit9b125348d7df6304f87f348b68f9e739e6ad1230 (patch)
treee2528fa5909b08b07b96c0d1a66c2691a8af5424 /templates
parentrouter_{http,ssh}.go, url_misc.go: Fix escaping (diff)
downloadforge-9b125348d7df6304f87f348b68f9e739e6ad1230.tar.gz
forge-9b125348d7df6304f87f348b68f9e739e6ad1230.tar.zst
forge-9b125348d7df6304f87f348b68f9e739e6ad1230.zip
repo_log: Fix anchor
Diffstat (limited to 'templates')
-rw-r--r--templates/repo_log.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo_log.html.tmpl b/templates/repo_log.html.tmpl
index 9ef489e..a24138c 100644
--- a/templates/repo_log.html.tmpl
+++ b/templates/repo_log.html.tmpl
@@ -24,7 +24,7 @@
<tbody>
{{- range .commits }}
<tr>
- <td class="commit-id"><a href="../../commit/{{ .ID }}">{{ .ID }}</a></td>
+ <td class="commit-id"><a href="../commit/{{ .ID }}">{{ .ID }}</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>