diff --git a/content/news/aio-libs/2026-02-18_new_site.md b/content/news/aio-libs/2026-02-18_new-site.md similarity index 100% rename from content/news/aio-libs/2026-02-18_new_site.md rename to content/news/aio-libs/2026-02-18_new-site.md diff --git a/pelicanconf.py b/pelicanconf.py index 35c5d68..d18ff0a 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -73,7 +73,7 @@ def sponsors(preprocessor: Preprocessor, tag: str, markup: str) -> str: INDEX_SAVE_AS = "news/index.html" # Pages we use prefix in order to split the menu between projects and general links. # News we set the default tag to the subdirectory. This can be overriden by Tags: header if multiple tags are wanted. -PATH_METADATA = r"((pages/(?P([^/]+/)|))|(news/(?P[^/]+)/(?P\d{4}-\d{2}-\d{2})_))(?P.*)\.md" +PATH_METADATA = r"((pages/(?P([^/]+/)|))|(news/(?P[^/]+)/(?P\d{4}-\d{2}-\d{2})_))(?P[^_]+)\.md" PAGE_URL = "{prefix}{slug}/" PAGE_SAVE_AS = "{prefix}{slug}/index.html" # We use tags as categories, so we can occasionally put something under multiple categories.