From e07f15d555efbc7782398e7ca8a52f59cb3b9c33 Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sun, 9 Nov 2025 13:57:22 -0800 Subject: [PATCH] feat: fix sections --- content/writings/_index.md | 4 ++-- templates/external.html | 2 +- templates/writings.html | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 templates/writings.html diff --git a/content/writings/_index.md b/content/writings/_index.md index 2a27145..7ab5f00 100644 --- a/content/writings/_index.md +++ b/content/writings/_index.md @@ -1,7 +1,7 @@ +++ -title = "My writings" +title = "Writings" sort_by = "date" -template = "blog.html" +template = "writings.html" page_template = "page.html" draft = false +++ diff --git a/templates/external.html b/templates/external.html index 29e47e0..4b9b615 100644 --- a/templates/external.html +++ b/templates/external.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block content %} -
+

Things I find value in sharing

{% set data = load_data(path="content/external/external.toml") %} {% for category in data.categories %} diff --git a/templates/writings.html b/templates/writings.html new file mode 100644 index 0000000..758f737 --- /dev/null +++ b/templates/writings.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block content %} +
+

Writings

+
    + {% for post in section.pages %} +
  • + +
  • + {% endfor %} +
+
+{% endblock content %} +