From 0a24431622caef9e1940f141a54124de98d030b4 Mon Sep 17 00:00:00 2001
From: Runxi Yu <me@runxiyu.org>
Date: Tue, 11 Feb 2025 19:05:15 +0800
Subject: repo_index: Don't display commit IDs

---
 templates/repo_index.html.tmpl | 4 +---
 1 file changed, 1 insertion(+), 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>
-- 
cgit v1.2.3