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 eca6f89 commit 2aa00e6Copy full SHA for 2aa00e6
pelicanconf.py
@@ -8,13 +8,13 @@
8
LOCALE = "en"
9
10
# URL settings
11
+FILENAME_METADATA = r"(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>.*)"
12
ARTICLE_URL = "news/{date:%Y}/{slug}/"
13
ARTICLE_SAVE_AS = "news/{date:%Y}/{slug}.html"
14
AUTHOR_URL = "author/{slug}/"
15
CATEGORY_URL = "category/{slug}/"
16
PAGE_URL = "{slug}/"
17
PAGE_SAVE_AS = "{slug}.html"
-SLUGIFY_SOURCE = "basename"
18
TAG_URL = "tag/{slug}/"
19
YEAR_ARCHIVE_SAVE_AS = "news/{date:%Y}/index.html"
20
YEAR_ARCHIVE_URL = "news/{date:%Y}/"
0 commit comments