aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/404.html1
-rw-r--r--templates/500.html1
-rw-r--r--templates/commit.html4
-rw-r--r--templates/head.html1
-rw-r--r--templates/index.html1
-rw-r--r--templates/log.html1
-rw-r--r--templates/refs.html1
-rw-r--r--templates/repo.html3
-rw-r--r--templates/tree.html3
9 files changed, 0 insertions, 16 deletions
diff --git a/templates/404.html b/templates/404.html
index bca9d35..cb61c83 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -9,6 +9,5 @@
<h3>404 &mdash; nothing like that here.</h3>
</main>
</body>
-
</html>
{{ end }}
diff --git a/templates/500.html b/templates/500.html
index 164700c..c24f360 100644
--- a/templates/500.html
+++ b/templates/500.html
@@ -9,6 +9,5 @@
<h3>500 &mdash; something broke!</h3>
</main>
</body>
-
</html>
{{ end }}
diff --git a/templates/commit.html b/templates/commit.html
index 49f4574..f9166f1 100644
--- a/templates/commit.html
+++ b/templates/commit.html
@@ -2,7 +2,6 @@
<!DOCTYPE html>
<html>
{{ template "head" . }}
-
{{ template "repoheader" . }}
<body>
{{ template "nav" . }}
@@ -15,7 +14,6 @@
{{ .commit.Author.Name }} <a href="mailto:{{ .commit.Author.Email }}" class="commit-email">{{ .commit.Author.Email}}</a>
<div>{{ .commit.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div>
</div>
-
<div>
<strong>commit</strong>
<p><a href="/{{ .name }}/commit/{{ .commit.This }}" class="commit-hash">
@@ -23,7 +21,6 @@
</a>
</p>
</div>
-
{{ if .commit.Parent }}
<div>
<strong>parent</strong>
@@ -31,7 +28,6 @@
{{ .commit.Parent }}
</a></p>
</div>
-
{{ end }}
<div class="diff-stat">
<div>
diff --git a/templates/head.html b/templates/head.html
index 08c572e..a6685e6 100644
--- a/templates/head.html
+++ b/templates/head.html
@@ -7,7 +7,6 @@
<link rel="icon" type="image/png" size="32x32" href="/static/legit.png">
{{ if .parent }}
<title>{{ .meta.Title }} &mdash; {{ .name }} ({{ .ref }}): {{ .parent }}/</title>
-
{{ else if .path }}
<title>{{ .meta.Title }} &mdash; {{ .name }} ({{ .ref }}): {{ .path }}</title>
{{ else if .files }}
diff --git a/templates/index.html b/templates/index.html
index 4be062a..8da859b 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -27,7 +27,6 @@
{{ end }}
</table>
</div>
-
{{ template "foot" . }}
</main>
</body>
diff --git a/templates/log.html b/templates/log.html
index d097990..7ff39a3 100644
--- a/templates/log.html
+++ b/templates/log.html
@@ -2,7 +2,6 @@
<!DOCTYPE html>
<html>
{{ template "head" . }}
-
{{ template "repoheader" . }}
<body>
{{ template "nav" . }}
diff --git a/templates/refs.html b/templates/refs.html
index 21aa0e4..127ee76 100644
--- a/templates/refs.html
+++ b/templates/refs.html
@@ -2,7 +2,6 @@
<!DOCTYPE html>
<html>
{{ template "head" . }}
-
{{ template "repoheader" . }}
<body>
{{ template "nav" . }}
diff --git a/templates/repo.html b/templates/repo.html
index 68ab269..eac5d35 100644
--- a/templates/repo.html
+++ b/templates/repo.html
@@ -2,9 +2,7 @@
<!DOCTYPE html>
<html>
{{ template "head" . }}
-
{{ template "repoheader" . }}
-
<body>
{{ template "nav" . }}
<main>
@@ -26,7 +24,6 @@
{{- .readme -}}
</article>
{{- end -}}
-
<div class="clone-url">
<strong>clone</strong>
<pre>
diff --git a/templates/tree.html b/templates/tree.html
index 7ba065b..ba72464 100644
--- a/templates/tree.html
+++ b/templates/tree.html
@@ -1,9 +1,7 @@
{{ define "tree" }}
<!DOCTYPE html>
<html>
-
{{ template "head" . }}
-
{{ template "repoheader" . }}
<body>
{{ template "nav" . }}
@@ -11,7 +9,6 @@
{{ $repo := .name }}
{{ $ref := .ref }}
{{ $parent := .parent }}
-
<div class="tree">
{{ if $parent }}
<div></div>