summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorRose Hogenson <rhogenson@google.com>2026-07-23 16:07:38 -0700
committerRose Hogenson <rhogenson@google.com>2026-07-23 16:07:38 -0700
commit50e829808d7c61e04ed35af5d178aedffa15f90c (patch)
treedd22a6542e5a27a23272679ab9762f0eecf5f4e8 /templates
parent8cfead0704354399baecaf3e279c730bed78b359 (diff)
downloadroseh.moe-50e829808d7c61e04ed35af5d178aedffa15f90c.tar.zst
Add a package index
Diffstat (limited to 'templates')
-rw-r--r--templates/pkg-index.html.template12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/pkg-index.html.template b/templates/pkg-index.html.template
new file mode 100644
index 0000000..7628b86
--- /dev/null
+++ b/templates/pkg-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>