aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 19:05:15 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 19:05:15 +0800
commit0a24431622caef9e1940f141a54124de98d030b4 (patch)
treedada0b3b116de5fcd515a96ab16004a801fff564
parentrepo_commit: Add a commit info page (diff)
downloadforge-0a24431622caef9e1940f141a54124de98d030b4.tar.gz
forge-0a24431622caef9e1940f141a54124de98d030b4.tar.zst
forge-0a24431622caef9e1940f141a54124de98d030b4.zip
repo_index: Don't display commit IDs
Diffstat (limited to '')
-rw-r--r--templates/repo_index.html.tmpl4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl
index 7c5422d..ca0fd83 100644
--- a/templates/repo_index.html.tmpl
+++ b/templates/repo_index.html.tmpl
@@ -10,10 +10,9 @@
<table id="recent-commits">
<thead>
<tr class="title-row">
- <th colspan="4">Recent Commits (<a href="log/{{ .ref }}/">see all</a>)</th>
+ <th colspan="3">Recent Commits (<a href="log/{{ .ref }}/">see all</a>)</th>
</tr>
<tr>
- <th scope="col">ID</th>
<th scope="col">Title</th>
<th scope="col">Author</th>
<th scope="col">Time</th>
@@ -22,7 +21,6 @@
<tbody>
{{- range .commits }}
<tr>
- <td class="commit-id">{{ slice .Hash.String 0 8 }}</td>
<td class="commit-title">{{ .Message | first_line }}</td>
<td class="commit-author">
<a class="email-name" href="mailto:{{ .Author.Email }}">{{ .Author.Name }}</a>