Skip to content

Commit c1b543c

Browse files
Update pelicanconf.py
1 parent 39fe03e commit c1b543c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pelicanconf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def sponsors(preprocessor: Preprocessor, tag: str, markup: str) -> str:
6969
CATEGORY_SAVE_AS = "category/{slug}/index.html"
7070
CATEGORIES_SAVE_AS = "category/index.html"
7171
INDEX_SAVE_AS = "news/index.html"
72-
PATH_METADATA = r"(pages/(?P<prefix>([^/]+/)|)(?P<slug>.*)\.md)|(news/(?P<tag>([^/]+/)|)/(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>.*))"
72+
PATH_METADATA = r"(pages/(?P<prefix>([^/]+/)|))|(news/(?P<tag>([^/]+/)|)/(?P<date>\d{4}-\d{2}-\d{2})_)(?P<slug>.*)\.md"
7373
PAGE_URL = "{prefix}{slug}/"
7474
PAGE_SAVE_AS = "{prefix}{slug}/index.html"
7575
TAG_URL = "tag/{slug}/"

0 commit comments

Comments
 (0)