aboutsummaryrefslogtreecommitdiff
path: root/templates/refs.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/refs.html')
-rw-r--r--templates/refs.html35
1 files changed, 17 insertions, 18 deletions
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" }}
<!DOCTYPE html>
<html>
-{{ template "head" . }}
-
- {{ template "repoheader" . }}
+ {{ template "head" . }}
<body>
+ {{ template "repoheader" . }}
{{ template "nav" . }}
<main>
{{ $name := .name }}
- <h3>branches</h3>
+ <h3>Branches</h3>
<div class="refs">
{{ range .branches }}
<div>
@@ -20,20 +19,20 @@
{{ end }}
</div>
{{ if .tags }}
- <h3>tags</h3>
- <div class="refs">
- {{ range .tags }}
- <div>
- <strong>{{ .Name }}</strong>
- <a href="/{{ $name }}/tree/{{ .Name }}/">browse</a>
- <a href="/{{ $name }}/log/{{ .Name }}">log</a>
- <a href="/{{ $name }}/archive/{{ .Name }}.tar.gz">tar.gz</a>
- {{ if .Message }}
- <pre>{{ .Message }}</pre>
- </div>
- {{ end }}
- {{ end }}
- </div>
+ <h3>Tags</h3>
+ <div class="refs">
+ {{ range .tags }}
+ <div>
+ <strong>{{ .Name }}</strong>
+ <a href="/{{ $name }}/tree/{{ .Name }}/">browse</a>
+ <a href="/{{ $name }}/log/{{ .Name }}">log</a>
+ <a href="/{{ $name }}/archive/{{ .Name }}.tar.gz">tar.gz</a>
+ {{ if .Message }}
+ <pre>{{ .Message }}</pre>
+ </div>
+ {{ end }}
+ {{ end }}
+ </div>
{{ end }}
</main>
</body>