diff --git a/pelican_theme_teckids/pelicanconf.py b/pelican_theme_teckids/pelicanconf.py index b43b217585afe32af9cddfd64641ab1610fd5bdf..f76ebc42b4c0417c2a7c1a382dfdcd5afc4312dd 100644 --- a/pelican_theme_teckids/pelicanconf.py +++ b/pelican_theme_teckids/pelicanconf.py @@ -13,7 +13,8 @@ ARTICLE_PATHS = ["posts"] PAGE_PATHS = ["pages"] STATIC_PATHS = ["static", "images"] PATH = "content" -PATH_METADATA = "pages/(?P<lang>[^/]*)" +FILENAME_METADATA = r'(?P<date>\d{4}-\d{2}-\d{2})_.*' +PATH_METADATA = r"(posts|pages)/(?P<lang>[^/]*)" OUTPUT_PATH = "public" SLUGIFY_SOURCE = "basename"