From b9182c3159ea1bf1aa6f5d0190b15d00ac2e621a Mon Sep 17 00:00:00 2001 From: lidia pereira Date: Wed, 19 Jun 2019 17:33:38 +0200 Subject: [PATCH] added url regex substitutions for categories --- pelicanconf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pelicanconf.py b/pelicanconf.py index 58cc0e2..aee8ec0 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -53,5 +53,8 @@ MENUITEMS = [('Manifesto', '/')] DELETE_OUTPUT_DIRECTORY = True +SLUG_REGEX_SUBSTITUTIONS = [ +(r'\s', '-'),] + # Uncomment following line if you want document-relative URLs when developing #RELATIVE_URLS = True