From 7386392b8cd08e73e4f5fa6080e8f4fcf20831f6 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 27 Jul 2024 08:00:00 +0800 Subject: Some more HTML sanities --- templates/refs.html | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'templates/refs.html') diff --git a/templates/refs.html b/templates/refs.html index f121d3e..0138791 100644 --- a/templates/refs.html +++ b/templates/refs.html @@ -1,14 +1,13 @@ {{ define "refs" }} -{{ template "head" . }} - - {{ template "repoheader" . }} + {{ template "head" . }} + {{ template "repoheader" . }} {{ template "nav" . }}
{{ $name := .name }} -

branches

+

Branches

{{ range .branches }}
@@ -20,20 +19,20 @@ {{ end }}
{{ if .tags }} -

tags

-
- {{ range .tags }} -
- {{ .Name }} - browse - log - tar.gz - {{ if .Message }} -
{{ .Message }}
-
- {{ end }} - {{ end }} -
+

Tags

+
+ {{ range .tags }} +
+ {{ .Name }} + browse + log + tar.gz + {{ if .Message }} +
{{ .Message }}
+
+ {{ end }} + {{ end }} +
{{ end }}
-- cgit v1.2.3