templates/repo-header.html (view raw)
1{{ define "repoheader" }} 2<header> 3 <h2> 4 <a href="/">all repos</a> 5 — {{ .displayname }} 6 {{ if .ref }} 7 <span class="ref">@ {{ .ref }}</span> 8 {{ end }} 9 </h2> 10 <h3 class="desc">{{ .desc }}</h3> 11</header> 12{{ end }}