legit/templates/repo-header.html

13 lines
232 B
HTML
Raw Normal View History

2022-12-18 05:12:18 +00:00
{{ 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 }}