Fix code repos: move repos.json to root _data/ for Eleventy 3

Eleventy 3 only loads global data from inputDir/_data/, not from
subdirectory _data/ dirs. Moved code/_data/repos.json to _data/repos.json
and updated the GitHub aggregator output path.
This commit is contained in:
2026-09-11 13:07:06 +02:00
parent 5b70c7df2f
commit ecbda171a6
3 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import urllib.request
GITHUB_USER = "skoelle"
API_ROOT = "https://api.github.com"
OUTPUT_PATH = os.path.join(
os.path.dirname(__file__), "..", "..", "code", "_data", "repos.json"
os.path.dirname(__file__), "..", "..", "_data", "repos.json"
)
Binary file not shown.