legit/templates/repo-header.html

13 lines
231 B
HTML
Raw Permalink Normal View History

2022-12-18 05:12:18 +00:00
{{ define "repoheader" }}
<header>
<h2>
2022-12-18 05:12:18 +00:00
<a href="/">all repos</a>
&mdash; {{ .name }}
{{ if .ref }}
<span class="ref">@ {{ .ref }}</span>
{{ end }}
</h2>
<h3 class="desc">{{ .desc }}</h3>
</header>
{{ end }}