Skip to content

Commit e30681e

Browse files
Update pelicanconf.py
1 parent 3baa6ca commit e30681e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pelicanconf.py

Lines changed: 2 additions & 2 deletions
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>([^/]+/)|))|(news/(?P<tags>([^/]+/)|)/(?P<date>\d{4}-\d{2}-\d{2})_)(?P<slug>.*)\.md"
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}/"
@@ -87,7 +87,7 @@ def sponsors(preprocessor: Preprocessor, tag: str, markup: str) -> str:
8787

8888
# Plugins
8989
PLUGIN_PATHS = ("plugins",)
90-
PLUGINS = ("linkclass", "liquid_tags")
90+
PLUGINS = ("linkclass", "liquid_tags", "tag_from_path")
9191
MARKDOWN = {
9292
"extensions": [
9393
"extra",

0 commit comments

Comments
 (0)