summaryrefslogtreecommitdiffstats
path: root/templates/pkg-index.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/pkg-index.html.template')
-rw-r--r--templates/pkg-index.html.template22
1 files changed, 9 insertions, 13 deletions
diff --git a/templates/pkg-index.html.template b/templates/pkg-index.html.template
index fc88ed4..67417c2 100644
--- a/templates/pkg-index.html.template
+++ b/templates/pkg-index.html.template
@@ -1,14 +1,10 @@
-{{define "head" -}}
- <title>Packages</title>
-{{- end}}
+<title>Packages</title>
-{{define "body" -}}
- <section>
- <p>Package index</p>
- <ul>
- {{- range .Packages}}
- <li><p><a href="https://pkg.go.dev/roseh.moe/pkg/{{.Name}}">roseh.moe/pkg/{{.Name}}</a> - {{.Description}}</p></li>
- {{- end}}
- </ul>
- </section>
-{{- end}}
+<section>
+ <p>Package index
+ <ul>
+ {{- range .Packages}}
+ <li><p><a href="https://pkg.go.dev/roseh.moe/pkg/{{.Name}}">roseh.moe/pkg/{{.Name}}</a> - {{.Description}}
+ {{- end}}
+ </ul>
+</section>