diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 10:42:18 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 10:42:18 +0530 |
commit | e4d12fc667c9830dd5f08f827b2a70adff58a09b (patch) | |
tree | c052c87caf09ddc785c1a86454aeee00dcfcf774 /templates/repo-header.html | |
parent | 3e6a720154b70a9882af14399548e494b1d0089f (diff) | |
download | legit-e4d12fc667c9830dd5f08f827b2a70adff58a09b.tar.gz legit-e4d12fc667c9830dd5f08f827b2a70adff58a09b.tar.bz2 legit-e4d12fc667c9830dd5f08f827b2a70adff58a09b.zip |
templates: unified repo-header
Diffstat (limited to 'templates/repo-header.html')
-rw-r--r-- | templates/repo-header.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/repo-header.html b/templates/repo-header.html new file mode 100644 index 0000000..dd84875 --- /dev/null +++ b/templates/repo-header.html @@ -0,0 +1,12 @@ +{{ define "repoheader" }} +<header> + <h2> + <a href="/">all repos</a> + — {{ .name }} + {{ if .ref }} + <span class="ref">@ {{ .ref }}</span> + {{ end }} + </h2> + <h3 class="desc">{{ .desc }}</h3> +</header> +{{ end }} |