diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-06 22:30:57 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-06 22:31:12 +0800 |
commit | c37d627b529fc8d03328fc77efc57b19ecd0e8f0 (patch) | |
tree | d3e532cf48afd5edd819027301891d2923ea43e3 /templates/repo_index.tmpl | |
parent | Update hosted forge links (diff) | |
download | forge-c37d627b529fc8d03328fc77efc57b19ecd0e8f0.tar.gz forge-c37d627b529fc8d03328fc77efc57b19ecd0e8f0.tar.zst forge-c37d627b529fc8d03328fc77efc57b19ecd0e8f0.zip |
*: Add column headers to tables
Diffstat (limited to '')
-rw-r--r-- | templates/repo_index.tmpl | 10 |
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 }} |