Skip to content

Commit 6a5a0c3

Browse files
Update pelicanconf.py
1 parent f085168 commit 6a5a0c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pelicanconf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ def sponsors(preprocessor: Preprocessor, tag: str, markup: str) -> str:
6565
AUTHOR_URL = "author/{slug}/"
6666
AUTHOR_SAVE_AS = "author/{slug}/index.html"
6767
AUTHORS_SAVE_AS = "author/index.html"
68-
CATEGORY_URL = "category/{slug}/"
69-
CATEGORY_SAVE_AS = "category/{slug}/index.html"
70-
CATEGORIES_SAVE_AS = "category/index.html"
68+
CATEGORY_URL = None
69+
CATEGORY_SAVE_AS = None
70+
CATEGORIES_SAVE_AS = None
7171
INDEX_SAVE_AS = "news/index.html"
7272
PATH_METADATA = r"(pages/(?P<prefix>([^/]+/)|))|(news/(?P<tags>[^/]+)/(?P<date>\d{4}-\d{2}-\d{2})_)(?P<slug>.*)\.md"
7373
PAGE_URL = "{prefix}{slug}/"

0 commit comments

Comments
 (0)