diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2026-09-08 08:56:40 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2026-09-08 08:58:21 -0700 |
| commit | 735512086436dba4969107695ba7b93f09efce2e (patch) | |
| tree | 7bf014884a5d655d4477def39c9f794c9037b4fa /templates/pkg-index.html.template | |
| parent | Use /tmp/hole as the hole directory for local runs (diff) | |
| download | roseh.moe-735512086436dba4969107695ba7b93f09efce2e.tar.zst | |
Simplify the HTML templates by omitting end tags
Diffstat (limited to 'templates/pkg-index.html.template')
| -rw-r--r-- | templates/pkg-index.html.template | 22 |
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> |
