aboutsummaryrefslogtreecommitdiff
path: root/templates/repo-header.html
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-07-27 08:00:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-07-27 08:00:00 +0800
commit7386392b8cd08e73e4f5fa6080e8f4fcf20831f6 (patch)
tree73330ee296f398b7720312a942bc9d524ece9857 /templates/repo-header.html
parenttemplates/file.html: Remove line numbers (diff)
downloadlegitrx-7386392b8cd08e73e4f5fa6080e8f4fcf20831f6.tar.gz
legitrx-7386392b8cd08e73e4f5fa6080e8f4fcf20831f6.tar.zst
legitrx-7386392b8cd08e73e4f5fa6080e8f4fcf20831f6.zip
Some more HTML sanities
Diffstat (limited to '')
-rw-r--r--templates/repo-header.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/repo-header.html b/templates/repo-header.html
index e0b293a..7be2d65 100644
--- a/templates/repo-header.html
+++ b/templates/repo-header.html
@@ -1,10 +1,9 @@
{{ define "repoheader" }}
<header>
<h2>
- <a href="/">all repos</a>
- &mdash; {{ .displayname }}
+ <a href="/">all repos</a> &mdash; {{ .displayname }}
{{ if .ref }}
- <span class="ref">@ {{ .ref }}</span>
+ <span class="ref">@ {{ .ref }}</span>
{{ end }}
</h2>
<h3 class="desc">{{ .desc }}</h3>