diff options
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> |
