aboutsummaryrefslogtreecommitdiff
path: root/templates/_repo_header.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_repo_header.html.tmpl')
-rw-r--r--templates/_repo_header.html.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/_repo_header.html.tmpl b/templates/_repo_header.html.tmpl
new file mode 100644
index 0000000..1dd14f9
--- /dev/null
+++ b/templates/_repo_header.html.tmpl
@@ -0,0 +1,7 @@
+{{- define "repo_header" -}}
+<a href="/g/{{ .group_name }}/">{{ .group_name }}</a>
+/
+<a href="/g/{{ .group_name }}/repos/">repos</a>
+/
+<a href="/g/{{ .group_name }}/repos/{{ .repo_name }}/">{{ .repo_name }}</a>
+{{- end -}}