Commit 3e1b8ee2e3

3e1b8ee2e31e4bc70441b35647e928834a339f74

parent: 280246ed5a

Unregistered key

cmc <hello@cleberg.net> · 2026-02-22 02:45 UTC
committer: <noreply@github.com>

fix build.py bug (#9)

Layout: unified · split

build.py +1 −1
@@ -110,7 +110,7 @@ def get_recent_posts_html(content_dir="./content/blog", num_posts=3):
110110
111111 header_patterns = {
112112 "title": re.compile(r"^#\+title:\s*(.+)$", re.IGNORECASE),
113 "date": re.compile(r"^#\+date:\s*<(\d{4}-\d{2}-\d{2})"),
113 "date": re.compile(r"^#\+date:\s*[\[<](\d{4}-\d{2}-\d{2})"),
114114 "slug": re.compile(r"^#\+slug:\s*(.+)$", re.IGNORECASE),
115115 "draft": re.compile(r"^#\+draft:\s*(.+)$", re.IGNORECASE),
116116 }