summaryrefslogtreecommitdiffstats
path: root/templates/cmd-index.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/cmd-index.html.template')
-rw-r--r--templates/cmd-index.html.template12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/cmd-index.html.template b/templates/cmd-index.html.template
new file mode 100644
index 0000000..7628b86
--- /dev/null
+++ b/templates/cmd-index.html.template
@@ -0,0 +1,12 @@
+{{define "head"}}
+ <title>Packages</title>
+{{end}}
+
+<section>
+ <p>Package index</p>
+ <ul>
+ {{range .Packages}}
+ <li><p><a href="https://pkg.go.dev/roseh.moe/pkg/{{.Name}}">{{.Name}}</a> - {{.Description}}</p></li>
+ {{end}}
+ </ul>
+</section>