Update {pelican,publish}conf.py

This commit is contained in:
Fabrice Mouhartem 2022-07-25 13:48:48 +02:00
parent 46b70b9678
commit cbd5d33500
3 changed files with 11 additions and 2 deletions

View File

@ -22,7 +22,7 @@ THEME_TEMPLATES_OVERRIDES = [os.path.dirname(__file__)]
# Plugins # Plugins
PLUGIN_PATHS = ['./plugins/'] PLUGIN_PATHS = ['./plugins/']
PLUGINS = ['i18n_subsites', 'autopages'] PLUGINS = ['i18n_subsites', 'autopages', ]
# Static paths # Static paths
PATH = 'content' PATH = 'content'
@ -55,6 +55,9 @@ ARTICLE_SAVE_AS = ARTICLE_URL
CATEGORY_URL = '{slug}/' CATEGORY_URL = '{slug}/'
CATEGORY_SAVE_AS = '{slug}/index.html' CATEGORY_SAVE_AS = '{slug}/index.html'
# autopage
CATEGORY_PAGE_PATH= 'categories'
# Uncomment following line if you want document-relative URLs when developing # Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True #RELATIVE_URLS = True

View File

@ -18,6 +18,12 @@ PIWIK_SITE_ID = '4'
DELETE_OUTPUT_DIRECTORY = True 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 # Following items are often useful when publishing
#DISQUS_SITENAME = "" #DISQUS_SITENAME = ""

@ -1 +1 @@
Subproject commit 9e3054ed67b228e93f36f3b8c73ea9ad7a691a72 Subproject commit b29991255fae3b29d318e72876a801b9db272fb7