Alternative content (RSS, (offline) JSON), social media partial

This commit is contained in:
Franz Klotsche
2025-11-19 11:16:40 +01:00
parent 1c9e04e308
commit dc0b5d8cfc
15 changed files with 501 additions and 17 deletions

View File

@@ -4,8 +4,9 @@
{{ .Content }}
{{ $url := printf "%s/%s/repos" .Site.Params.gh_url .Site.Params.gh_user }}
{{ $repos := getJSON $url }}
{{ $repos_local := getJSON "data/repos.json" }}
<section class="oss">
{{ range $repos }}
{{ range $repos_local }}
<article>
<h3><a href="{{ .html_url }}">{{ .name }}</a></h3>
<p>{{ .description }}</p>