aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_index.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-06 22:30:57 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-06 22:31:12 +0800
commitc37d627b529fc8d03328fc77efc57b19ecd0e8f0 (patch)
treed3e532cf48afd5edd819027301891d2923ea43e3 /templates/repo_index.tmpl
parentUpdate hosted forge links (diff)
downloadforge-c37d627b529fc8d03328fc77efc57b19ecd0e8f0.tar.gz
forge-c37d627b529fc8d03328fc77efc57b19ecd0e8f0.tar.zst
forge-c37d627b529fc8d03328fc77efc57b19ecd0e8f0.zip
*: Add column headers to tables
Diffstat (limited to '')
-rw-r--r--templates/repo_index.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl
index 3ce6d33..617b8ad 100644
--- a/templates/repo_index.tmpl
+++ b/templates/repo_index.tmpl
@@ -47,6 +47,11 @@
<tr class="title-row">
<th colspan="3">Recent commits (<a href="log/{{ if .ref_type }}?{{ .ref_type }}={{ .ref_name }}{{ end }}">see all</a>)</th>
</tr>
+ <tr>
+ <th scope="col">Title</th>
+ <th scope="col">Author</th>
+ <th scope="col">Author Date</th>
+ </tr>
</thead>
<tbody>
{{- range .commits }}
@@ -69,6 +74,11 @@
<tr class="title-row">
<th colspan="3">/{{ if .ref_name }} on {{ .ref_name }}{{ end }}</th>
</tr>
+ <tr>
+ <th scope="col">Mode</th>
+ <th scope="col">Filename</th>
+ <th scope="col">Size</th>
+ </tr>
</thead>
<tbody>
{{- $ref_type := .ref_type }}