From cbd5d33500b3c448945c5aa3966bd2c4b50348ee Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Mon, 25 Jul 2022 13:48:48 +0200 Subject: [PATCH] Update {pelican,publish}conf.py --- pelicanconf.py | 5 ++++- publishconf.py | 6 ++++++ themes/clean-blog | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index 98259d8..f73a1e3 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -22,7 +22,7 @@ THEME_TEMPLATES_OVERRIDES = [os.path.dirname(__file__)] # Plugins PLUGIN_PATHS = ['./plugins/'] -PLUGINS = ['i18n_subsites', 'autopages'] +PLUGINS = ['i18n_subsites', 'autopages', ] # Static paths PATH = 'content' @@ -55,6 +55,9 @@ ARTICLE_SAVE_AS = ARTICLE_URL CATEGORY_URL = '{slug}/' CATEGORY_SAVE_AS = '{slug}/index.html' +# autopage +CATEGORY_PAGE_PATH= 'categories' + # Uncomment following line if you want document-relative URLs when developing #RELATIVE_URLS = True diff --git a/publishconf.py b/publishconf.py index 9efd9b0..688b289 100644 --- a/publishconf.py +++ b/publishconf.py @@ -18,6 +18,12 @@ PIWIK_SITE_ID = '4' DELETE_OUTPUT_DIRECTORY = True +FEED_ALL_ATOM = None +CATEGORY_FEED_ATOM = None +TRANSLATION_FEED_ATOM = None +AUTHOR_FEED_ATOM = None +AUTHOR_FEED_RSS = None + # Following items are often useful when publishing #DISQUS_SITENAME = "" diff --git a/themes/clean-blog b/themes/clean-blog index 9e3054e..b299912 160000 --- a/themes/clean-blog +++ b/themes/clean-blog @@ -1 +1 @@ -Subproject commit 9e3054ed67b228e93f36f3b8c73ea9ad7a691a72 +Subproject commit b29991255fae3b29d318e72876a801b9db272fb7