aboutsummaryrefslogtreecommitdiff
path: root/templates/refs.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/refs.html')
-rw-r--r--templates/refs.html68
1 files changed, 34 insertions, 34 deletions
diff --git a/templates/refs.html b/templates/refs.html
index f0e591f..f121d3e 100644
--- a/templates/refs.html
+++ b/templates/refs.html
@@ -3,39 +3,39 @@
<html>
{{ template "head" . }}
- {{ template "repoheader" . }}
- <body>
- {{ template "nav" . }}
- <main>
- {{ $name := .name }}
- <h3>branches</h3>
- <div class="refs">
- {{ range .branches }}
- <div>
- <strong>{{ .Name.Short }}</strong>
- <a href="/{{ $name }}/tree/{{ .Name.Short }}/">browse</a>
- <a href="/{{ $name }}/log/{{ .Name.Short }}">log</a>
- <a href="/{{ $name }}/archive/{{ .Name.Short }}.tar.gz">tar.gz</a>
- </div>
- {{ 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>
- {{ end }}
- </main>
- </body>
+ {{ template "repoheader" . }}
+ <body>
+ {{ template "nav" . }}
+ <main>
+ {{ $name := .name }}
+ <h3>branches</h3>
+ <div class="refs">
+ {{ range .branches }}
+ <div>
+ <strong>{{ .Name.Short }}</strong>
+ <a href="/{{ $name }}/tree/{{ .Name.Short }}/">browse</a>
+ <a href="/{{ $name }}/log/{{ .Name.Short }}">log</a>
+ <a href="/{{ $name }}/archive/{{ .Name.Short }}.tar.gz">tar.gz</a>
+ </div>
+ {{ 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>
+ {{ end }}
+ </main>
+ </body>
</html>
{{ end }}