From 79cd78e1c2e10261387560f752cb9bfedf1b1d0c Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Fri, 29 Aug 2025 14:15:28 -0400 Subject: projects: use nested blocks to define a list of links --- flake.lock | 8 ++++---- projects/autograd.md | 6 ++++-- projects/bubbl.md | 6 ++++-- projects/chip8emu.md | 6 ++++-- projects/msg.md | 6 ++++-- templates/project.html | 4 +++- 6 files changed, 23 insertions(+), 13 deletions(-) diff --git a/flake.lock b/flake.lock index 5590139..d9d997d 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1754759707, - "narHash": "sha256-5nr8TwJHrIvcSWCArzvHTt2MAjTIgdLgEJ6zL3OpXYE=", + "lastModified": 1756491014, + "narHash": "sha256-gMl/4I+OjGiUW1lc00krpPandq3jyihZdx8IlOw2ZRA=", "ref": "refs/heads/main", - "rev": "48faa8e018673876b2a8489310853e0ef8628428", - "revCount": 259, + "rev": "d9e9613782af1f0d224d73d61f48bb02ad20032f", + "revCount": 273, "submodules": true, "type": "git", "url": "ssh://git@github.com/compromyse/msg.git" diff --git a/projects/autograd.md b/projects/autograd.md index ed9bb1c..fe076eb 100644 --- a/projects/autograd.md +++ b/projects/autograd.md @@ -3,8 +3,10 @@ description = An implementation of autograd / backpropagation. languages = Python url = /projects/autograd template = project.html -link = https://github.com/compromyse/autograd -linklabel = SOURCE +links = [ + href = https://github.com/compromyse/autograd + label = SOURCE +] priority = 1 --- diff --git a/projects/bubbl.md b/projects/bubbl.md index 751aa94..324b821 100644 --- a/projects/bubbl.md +++ b/projects/bubbl.md @@ -3,8 +3,10 @@ description = An Operating System for The x86 Architecture. languages = C / C++ / ASM url = /projects/bubbl template = project.html -link = https://github.com/compromyse/bubbl -linklabel = SOURCE +links = [ + href = https://github.com/compromyse/bubbl + label = SOURCE +] priority = 3 --- diff --git a/projects/chip8emu.md b/projects/chip8emu.md index 395b7d2..34ebdfa 100644 --- a/projects/chip8emu.md +++ b/projects/chip8emu.md @@ -3,8 +3,10 @@ description = An Emulator/Interpreter for CHIP-8. languages = C++ url = /projects/chip8emu template = project.html -link = https://github.com/compromyse/autograd -linklabel = SOURCE +links = [ + href = https://github.com/compromyse/autograd + label = SOURCE +] priority = 2 --- diff --git a/projects/msg.md b/projects/msg.md index 36e357f..64893cb 100644 --- a/projects/msg.md +++ b/projects/msg.md @@ -3,8 +3,10 @@ description = An incredibly opinionated, hackable, minimal Static Site Generator languages = C url = /projects/msg template = project.html -link = https://github.com/compromyse/msg -linklabel = SOURCE +links = [ + href = https://github.com/compromyse/msg + label = SOURCE +] priority = 4 --- diff --git a/templates/project.html b/templates/project.html index 3be9125..e7b98e3 100644 --- a/templates/project.html +++ b/templates/project.html @@ -39,7 +39,9 @@
{{ putpage languages }}
- {{ putpage linklabel }} + {{ eachdo page.links }} + {{ put label }} + {{ endeachdo }}
-- cgit v1.2.3