aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html2
-rw-r--r--templates/repo-header.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index 80c9e1d..7a77aec 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -10,7 +10,7 @@
<main>
<div class="index">
{{ range .info }}
- <div class="index-name"><a href="/{{ .Name }}">{{ .Name }}</a></div>
+ <div class="index-name"><a href="/{{ .Name }}">{{ .DisplayName }}</a></div>
<div class="desc">{{ .Desc }}</div>
<div>{{ .Idle }}</div>
{{ end }}
diff --git a/templates/repo-header.html b/templates/repo-header.html
index f358278..0420da7 100644
--- a/templates/repo-header.html
+++ b/templates/repo-header.html
@@ -2,7 +2,7 @@
<header>
<h2>
<a href="/">all repos</a>
- &mdash; {{ .name }}
+ &mdash; {{ .displayname }}
{{ if .ref }}
<span class="ref">@ {{ .ref }}</span>
{{ end }}