From b8f72bb7f5cc379fc165ba6c9ceb8708b3930739 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Fri, 10 Apr 2026 14:26:45 +0100 Subject: [PATCH 1/2] Add projects index page --- content/pages/projects.md | 4 ++++ theme/templates/projects.html | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 content/pages/projects.md create mode 100644 theme/templates/projects.html diff --git a/content/pages/projects.md b/content/pages/projects.md new file mode 100644 index 0000000..2c7e19c --- /dev/null +++ b/content/pages/projects.md @@ -0,0 +1,4 @@ +Title: Projects +Template: projects + +The various libraries we maintain. diff --git a/theme/templates/projects.html b/theme/templates/projects.html new file mode 100644 index 0000000..b0caeea --- /dev/null +++ b/theme/templates/projects.html @@ -0,0 +1,18 @@ +{% extends "!simple/page.html" %} + +{% block content %} +
+

{{ page.title }}

+
+ {% import 'translations.html' as translations with context %} + {{ translations.translations_for(page) }} + + {{ page.content }} + + {% for p in pages|sort(attribute='title') if p.prefix == "projects/" %} +
+

{{ p.title }}

+ {{ p.summary }} +
+ {% endfor %} +{% endblock %} From 36da886f5efdc36a0e75f91a7024069239003f53 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Fri, 10 Apr 2026 14:28:58 +0100 Subject: [PATCH 2/2] Update projects.md --- content/pages/projects.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/pages/projects.md b/content/pages/projects.md index 2c7e19c..3314b3f 100644 --- a/content/pages/projects.md +++ b/content/pages/projects.md @@ -1,4 +1,5 @@ Title: Projects Template: projects +Status: hidden The various libraries we maintain.