From f4ff8fe6eb20ab5b557d7beac095959890e126e8 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 20 Feb 2024 00:24:38 +0000 Subject: fix routes --- templates/refs.html | 48 +++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-) (limited to 'templates/refs.html') diff --git a/templates/refs.html b/templates/refs.html index 76add7d..347ff3b 100644 --- a/templates/refs.html +++ b/templates/refs.html @@ -2,37 +2,39 @@ {{ template "head" . }} - {{ template "repoheader" . }} - - {{ template "nav" . }} -
- {{ $name := .name }} -

branches

-
+{{ template "repoheader" . }} + + + {{ template "nav" . }} +
+ {{ $name := .repo }} +

branches

+
{{ range .branches }} -
+
{{ .Name.Short }} browse log -
- {{ end }}
- {{ if .tags }} -

tags

-
+ {{ end }} +
+ {{ if .tags }} +

tags

+
{{ range .tags }}
- {{ .Name }} - browse - log - {{ if .Message }} -
{{ .Message }}
+ {{ .Name }} + browse + log + {{ if .Message }} +
{{ .Message }}
{{ end }} {{ end }} -
- {{ end }} -
- +
+ {{ end }} +
+ + -{{ end }} +{{ end }} \ No newline at end of file -- cgit