aboutsummaryrefslogtreecommitdiff
path: root/cmd/within.website
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-07-30 10:40:03 -0400
committerXe Iaso <me@xeiaso.net>2023-07-30 10:40:03 -0400
commit8b3c21be2f6c51e0e26e283d40439bb67fd1151c (patch)
tree6c47737fb1ff922a883adce277d9739005b41214 /cmd/within.website
parentef73e8be518293efddee401a7e0a01e72185605a (diff)
downloadx-8b3c21be2f6c51e0e26e283d40439bb67fd1151c.tar.xz
x-8b3c21be2f6c51e0e26e283d40439bb67fd1151c.zip
various patches
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/within.website')
-rw-r--r--cmd/within.website/main.go2
-rw-r--r--cmd/within.website/tmpl/index.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/within.website/main.go b/cmd/within.website/main.go
index b87653d..1b782f6 100644
--- a/cmd/within.website/main.go
+++ b/cmd/within.website/main.go
@@ -26,7 +26,7 @@ var (
type Repo struct {
Kind string `json:"kind"`
Domain string `json:"domain"`
- User string `json:"string"`
+ User string `json:"user"`
Repo string `json:"repo"`
Description string `json:"description"`
}
diff --git a/cmd/within.website/tmpl/index.tmpl b/cmd/within.website/tmpl/index.tmpl
index d9ad01e..bc9da6b 100644
--- a/cmd/within.website/tmpl/index.tmpl
+++ b/cmd/within.website/tmpl/index.tmpl
@@ -11,7 +11,7 @@ This vanity domain houses a lot of <a href="https://xeiaso.net">Xe Iaso's</a> cu
<img src="https://pride-badges.pony.workers.dev/static/v1?label=enbyware&labelColor=%23555&stripeWidth=8&stripeColors=FCF434%2CFFFFFF%2C9C59D1%2C2C2C2C" />
{{range .Repos}}
-<h2>within.website/{{.Repo}}</h2>
+<h2 id="{{.Repo}}">within.website/{{.Repo}}</h2>
<p><a href="https://pkg.go.dev/within.website/{{.Repo}}"><img src="https://pkg.go.dev/badge/within.website/{{.Repo}}.svg" alt="Go Reference"></a> <a href="https://{{.Domain}}/{{.User}}/{{.Repo}}"><img alt="Source code link" src="https://img.shields.io/badge/source-link-green"></a></p>