summaryrefslogtreecommitdiffstats
path: root/templates/commit.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/commit.html')
-rw-r--r--templates/commit.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/commit.html b/templates/commit.html
index b4061aa..9ab945a 100644
--- a/templates/commit.html
+++ b/templates/commit.html
@@ -2,10 +2,7 @@
<html>
{{ template "head" . }}
- <header>
- <h1>{{ .meta.Title }}</h1>
- <h2>{{ .meta.Description }}</h2>
- </header>
+ {{ template "repoheader" . }}
<body>
{{ template "nav" . }}
<main>
@@ -19,9 +16,11 @@
{{ .commit.This }}
</a>
</p>
+ {{ if .commit.Parent }}
<p>parent: <a href="/{{ .name }}/commit/{{ .commit.Parent }}">
{{ .commit.Parent }}
</a>
+ {{ end }}
</p>
<div class="diff-stat">
<div>