From 3e1b8ee2e31e4bc70441b35647e928834a339f74 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sat, 21 Feb 2026 20:45:21 -0600 Subject: fix build.py bug (#9) --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 940acad..bcae768 100644 --- a/build.py +++ b/build.py @@ -110,7 +110,7 @@ def get_recent_posts_html(content_dir="./content/blog", num_posts=3): header_patterns = { "title": re.compile(r"^#\+title:\s*(.+)$", re.IGNORECASE), - "date": re.compile(r"^#\+date:\s*<(\d{4}-\d{2}-\d{2})"), + "date": re.compile(r"^#\+date:\s*[\[<](\d{4}-\d{2}-\d{2})"), "slug": re.compile(r"^#\+slug:\s*(.+)$", re.IGNORECASE), "draft": re.compile(r"^#\+draft:\s*(.+)$", re.IGNORECASE), } -- cgit v1.2.3