We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39fe03e commit c1b543cCopy full SHA for c1b543c
pelicanconf.py
@@ -69,7 +69,7 @@ def sponsors(preprocessor: Preprocessor, tag: str, markup: str) -> str:
69
CATEGORY_SAVE_AS = "category/{slug}/index.html"
70
CATEGORIES_SAVE_AS = "category/index.html"
71
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>.*))"
+PATH_METADATA = r"(pages/(?P<prefix>([^/]+/)|))|(news/(?P<tag>([^/]+/)|)/(?P<date>\d{4}-\d{2}-\d{2})_)(?P<slug>.*)\.md"
73
PAGE_URL = "{prefix}{slug}/"
74
PAGE_SAVE_AS = "{prefix}{slug}/index.html"
75
TAG_URL = "tag/{slug}/"
0 commit comments