Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40ab1ee

Browse files
committed
Make all URLs() canonical
1 parent 5df7b52 commit 40ab1ee

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pelicanconf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@
4444
PAGE_URL = "{slug}/"
4545
PAGE_SAVE_AS = "{slug}/index.html"
4646

47+
TAGS_URL = "tags/"
48+
TAGS_SAVE_AS = "tags/index.html"
49+
AUTHORS_URL = "authors/"
50+
AUTHORS_SAVE_AS = "authors/index.html"
51+
ARCHIVES_URL = "archives/"
52+
ARCHIVES_SAVE_AS = "archives/index.html"
53+
CATEGORIES_URL = "categories/"
54+
CATEGORIES_SAVE_AS = "categories/index.html"
55+
4756
DISPLAY_PAGES_ON_MENU = False
4857

4958
MENUITEMS = (

0 commit comments

Comments
 (0)