summaryrefslogtreecommitdiffstats
path: root/templates/repo-header.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo-header.html')
-rw-r--r--templates/repo-header.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/repo-header.html b/templates/repo-header.html
new file mode 100644
index 0000000..dd84875
--- /dev/null
+++ b/templates/repo-header.html
@@ -0,0 +1,12 @@
+{{ define "repoheader" }}
+<header>
+ <h2>
+ <a href="/">all repos</a>
+ &mdash; {{ .name }}
+ {{ if .ref }}
+ <span class="ref">@ {{ .ref }}</span>
+ {{ end }}
+ </h2>
+ <h3 class="desc">{{ .desc }}</h3>
+</header>
+{{ end }}