cmc/cleberg.net

My personal web garden & blog.

clone: git clone https://gitbay.org/cmc/cleberg.net.git

3e1b8ee2e31e4bc70441b35647e928834a339f74

signed_unknown_key

author: Christian Cleberg <hello@cleberg.net> · 2026-02-22T02:45:21Z
committer: <noreply@github.com>

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),
     }