From a598ecccdf3e98b87dc67c3bf3a97aafd21f54a5 Mon Sep 17 00:00:00 2001 From: eclipse Date: Thu, 13 Feb 2025 13:48:09 +0100 Subject: [PATCH] fixed buggy URLs for non-default language articles --- pelicanconf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pelicanconf.py b/pelicanconf.py index 5b9027b..ea8b265 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -22,8 +22,10 @@ ARTICLE_PATHS = ["posts"] PAGE_PATHS = ["pages"] #PATH_METADATA = '(?P.*)\..*' -#PAGE_SAVE_AS = '{path_no_ext}.html' +PAGE_URL = '{slug}/' +PAGE_SAVE_AS = '{slug}/index.html' ARTICLE_SAVE_AS = '{category}/{slug}.html' +ARTICLE_LANG_SAVE_AS = '{category}/{slug}.html' DEFAULT_PAGINATION = 5