diff options
| author | Rose Hogenson <rhogenson@google.com> | 2026-07-23 16:23:52 -0700 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@google.com> | 2026-07-23 16:23:52 -0700 |
| commit | a6563b31cd342334fe7a8b22b410d359adf3bfbb (patch) | |
| tree | e723a457c3dbaa12b594b885a82413389f8b2420 /templates | |
| parent | 8f036c1780ebc2d07d3043f8d805e1dde0725669 (diff) | |
| download | roseh.moe-a6563b31cd342334fe7a8b22b410d359adf3bfbb.tar.zst | |
Add a command index
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/cmd-index.html.template | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/cmd-index.html.template b/templates/cmd-index.html.template index 7628b86..fb8c626 100644 --- a/templates/cmd-index.html.template +++ b/templates/cmd-index.html.template @@ -1,12 +1,15 @@ {{define "head"}} - <title>Packages</title> + <title>Commands</title> {{end}} <section> - <p>Package index</p> + <p>Command index</p> <ul> - {{range .Packages}} - <li><p><a href="https://pkg.go.dev/roseh.moe/pkg/{{.Name}}">{{.Name}}</a> - {{.Description}}</p></li> + {{range .Commands}} + <li> + <p><a href="https://pkg.go.dev/roseh.moe/cmd/{{.Name}}">{{.Name}}</a> - {{.Description}}</p> + <p><code>go install roseh.moe/cmd/{{.Name}}{{if .Multi}}/...{{end}}@latest</code></p> + </li> {{end}} </ul> </section> |
