Skip to content

Commit 684373b

Browse files
committed
Tweak
1 parent 2aa00e6 commit 684373b

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
@@ -10,11 +10,11 @@
1010
# URL settings
1111
FILENAME_METADATA = r"(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>.*)"
1212
ARTICLE_URL = "news/{date:%Y}/{slug}/"
13-
ARTICLE_SAVE_AS = "news/{date:%Y}/{slug}.html"
13+
ARTICLE_SAVE_AS = "news/{date:%Y}/{slug}/index.html"
1414
AUTHOR_URL = "author/{slug}/"
1515
CATEGORY_URL = "category/{slug}/"
1616
PAGE_URL = "{slug}/"
17-
PAGE_SAVE_AS = "{slug}.html"
17+
PAGE_SAVE_AS = "{slug}/index.html"
1818
TAG_URL = "tag/{slug}/"
1919
YEAR_ARCHIVE_SAVE_AS = "news/{date:%Y}/index.html"
2020
YEAR_ARCHIVE_URL = "news/{date:%Y}/"

0 commit comments

Comments
 (0)