diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-21 22:15:21 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-21 22:15:21 +0800 |
commit | 188c24c540bfb05673217f3c304f09825b2074c4 (patch) | |
tree | 19b4713a366eb6856b5550fe5bde3684c0a1ccea /templates | |
parent | Stop using the cursed contentfulSegmentsLen (diff) | |
download | forge-188c24c540bfb05673217f3c304f09825b2074c4.tar.gz forge-188c24c540bfb05673217f3c304f09825b2074c4.tar.zst forge-188c24c540bfb05673217f3c304f09825b2074c4.zip |
Fix spacing in branchspec on repo indexes
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo_index.tmpl | 2 |
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> |