Commit 3e1b8ee2e3
Unregistered key
Layout: unified · split
build.py +1 −1
| @@ -110,7 +110,7 @@ def get_recent_posts_html(content_dir="./content/blog", num_posts=3): | |||
| 110 | 110 | ||
| 111 | header_patterns = { | 111 | header_patterns = { |
| 112 | "title": re.compile(r"^#\+title:\s*(.+)$", re.IGNORECASE), | 112 | "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})"), |
| 114 | "slug": re.compile(r"^#\+slug:\s*(.+)$", re.IGNORECASE), | 114 | "slug": re.compile(r"^#\+slug:\s*(.+)$", re.IGNORECASE), |
| 115 | "draft": re.compile(r"^#\+draft:\s*(.+)$", re.IGNORECASE), | 115 | "draft": re.compile(r"^#\+draft:\s*(.+)$", re.IGNORECASE), |
| 116 | } | 116 | } |