From 856f66808b913baff13c815daec3cdde7121e3bd Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sun, 11 Dec 2022 11:22:47 +0530 Subject: all: init --- templates/repo.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 templates/repo.html (limited to 'templates/repo.html') diff --git a/templates/repo.html b/templates/repo.html new file mode 100644 index 0000000..e388de3 --- /dev/null +++ b/templates/repo.html @@ -0,0 +1,22 @@ +{{ define "repo" }} + +{{ template "head" . }} + +
+

{{ .meta.Title }}

+

{{ .meta.Description }}

+
+ + {{ template "nav" . }} +
+ {{ range .files }} + {{ if .IsFile }} +

{{ .Mode }} {{ .Name }} {{ .Size }}

+ {{ else }} +

d-------- {{ .Name}}/

+ {{ end }} + {{ end }} +
+ + +{{ end }} -- cgit