aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-21 22:15:21 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-21 22:15:21 +0800
commit188c24c540bfb05673217f3c304f09825b2074c4 (patch)
tree19b4713a366eb6856b5550fe5bde3684c0a1ccea
parentStop using the cursed contentfulSegmentsLen (diff)
downloadforge-188c24c540bfb05673217f3c304f09825b2074c4.tar.gz
forge-188c24c540bfb05673217f3c304f09825b2074c4.tar.zst
forge-188c24c540bfb05673217f3c304f09825b2074c4.zip
Fix spacing in branchspec on repo indexes
-rw-r--r--templates/repo_index.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl
index d59e480..7294fea 100644
--- a/templates/repo_index.tmpl
+++ b/templates/repo_index.tmpl
@@ -102,7 +102,7 @@
<table id="file-tree" class="wide rounded">
<thead>
<tr class="title-row">
- <th colspan="3">/{{- if .ref_name -}} on {{- .ref_name -}}{{- end -}}</th>
+ <th colspan="3">/{{- if .ref_name }} on {{ .ref_name -}}{{- end -}}</th>
</tr>
<tr>
<th scope="col">Mode</th>