Alter 2 files

Update generate.py
Update vanity.yml
This commit is contained in:
akp 2025-07-20 23:44:23 +01:00
parent cbf34b63eb
commit 025d93058f
2 changed files with 13 additions and 4 deletions

View file

@ -49,6 +49,9 @@ def generate_index(conf):
for path in conf.get("paths", {}): for path in conf.get("paths", {}):
path_details = conf["paths"][path] path_details = conf["paths"][path]
if path_details.get("private", False):
continue
with div(cls="project", id=path): with div(cls="project", id=path):
h2( h2(
span(conf["host"], cls="secondary"), path span(conf["host"], cls="secondary"), path

View file

@ -5,13 +5,19 @@ host: go.akpain.net
paths: paths:
/cfger: /cfger:
repo: https://git.tdpain.net/pkg/cfger repo: https://git.akpain.net/pkg/cfger
byline: "A basic configuration loading system" byline: "A basic configuration loading system"
vcs: git vcs: git
display: "go.akpain.net https://git.tdpain.net/pkg/cfger https://git.tdpain.net/pkg/cfger/-/tree/main{/dir} https://git.tdpain.net/pkg/cfger/-/blob/main{/dir}/{file}#L{line}" display: "go.akpain.net https://git.akpain.net/pkg/cfger https://git.akpain.net/pkg/cfger/src/branch/main{/dir} https://git.akpain.net/pkg/cfger/src/branch/main{/dir}/{file}#L{line}"
/caddy-tailscale-auth: /caddy-tailscale-auth:
repo: https://git.tdpain.net/pkg/caddy-tailscale repo: https://git.akpain.net/pkg/caddy-tailscale
byline: "A Caddy authentication provider for Tailnets" byline: "A Caddy authentication provider for Tailnets"
vcs: git vcs: git
display: "go.akpain.net https://git.tdpain.net/pkg/caddy-tailscale https://git.tdpain.net/pkg/caddy-tailscale/-/tree/main{/dir} https://git.tdpain.net/pkg/caddy-tailscale/-/blob/main{/dir}/{file}#L{line}" display: "go.akpain.net https://git.akpain.net/pkg/caddy-tailscale https://git.akpain.net/pkg/caddy-tailscale/src/branch/main{/dir} https://git.akpain.net/pkg/caddy-tailscale/src/branch/main{/dir}/{file}#L{line}"
/hn24:
repo: https://github.com/codemicro/hn24
vcs: git
display: "go.akpain.net https://github.com/codemicro/hn24 https://github.com/codemicro/hn24/tree/main{/dir} https://github.com/codemicro/hn24/blob/main{/dir}/{file}#L{line}"
private: true