diff options
Diffstat (limited to 'pelicanconf.py')
-rw-r--r-- | pelicanconf.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pelicanconf.py b/pelicanconf.py index 935b531..e85d4e1 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -55,3 +55,12 @@ PLUGINS = ["m.htmlsanity"] # Per https://docs.getpelican.com/en/latest/faq.html#how-can-i-use-a-static-page-as-my-home-page INDEX_SAVE_AS = "pelican-index.html" + +# https://docs.getpelican.com/en/stable/settings.html#url-settings +# Fiddle with names to so that /Foo will do the right thing even when +# /Foo/ is a directory with supporting content. + +ARTICLE_URL = "{slug}" +ARTICLE_SAVE_AS = "{slug}/index.html" +PAGE_URL = "pages/{slug}" +PAGE_SAVE_AS = "pages/{slug}/index.html" |