From e4d12fc667c9830dd5f08f827b2a70adff58a09b Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sun, 18 Dec 2022 10:42:18 +0530 Subject: templates: unified repo-header --- templates/refs.html | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'templates/refs.html') diff --git a/templates/refs.html b/templates/refs.html index aee4a11..5320a8e 100644 --- a/templates/refs.html +++ b/templates/refs.html @@ -2,32 +2,39 @@ {{ template "head" . }} -
-

{{ .meta.Title }}

-

{{ .meta.Description }}

-
+ {{ template "repoheader" . }} {{ template "nav" . }}
-

branches

{{ $name := .name }} +

branches

+
{{ range .branches }} -

- {{ .Name.Short }} - browse - log -

+
+ {{ .Name.Short }} +
+
+ browse + log +
{{ end }} +
{{ if .tags }}

tags

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