debugging ... placed the ATOM variables back and removed some unicode 'u's that were flying around

This commit is contained in:
manetta 2019-02-13 17:32:19 +01:00
parent 7f2839bddc
commit d7b75f8245

View File

@ -15,7 +15,8 @@ DEFAULT_LANG = 'nl'
# Feed generation is usually not desired when developing # Feed generation is usually not desired when developing
FEED_DOMAIN = SITEURL FEED_DOMAIN = SITEURL
FEED_ALL_RSS = 'feeds/all.rss.xml' FEED_ALL_RSS = 'feeds/all.rss.xml'
# CATEGORY_FEED_ATOM = None FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_RSS = 'feeds/all-{lang}.rss.xml' TRANSLATION_FEED_RSS = 'feeds/all-{lang}.rss.xml'
AUTHOR_FEED_RSS = None AUTHOR_FEED_RSS = None
@ -26,7 +27,7 @@ THEME_STATIC_DIR = 'theme'
PLUGIN_PATHS = ['plugins/pelican-plugins', 'plugins/plugins-custom'] PLUGIN_PATHS = ['plugins/pelican-plugins', 'plugins/plugins-custom']
PLUGINS = ['dateish', 'extract_toc', 'i18n_subsites', 'summary', 'events-ics','complex_footnotes', 'stream', 'thumbnailer'] PLUGINS = ['dateish', 'extract_toc', 'i18n_subsites', 'summary', 'events-ics','complex_footnotes', 'stream', 'thumbnailer']
STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs', 'stream'] STATIC_PATHS = ['favicon.ico', 'images', 'pdfs', 'stream']
EXTRA_PATH_METADATA = { EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'}, 'extra/robots.txt': {'path': 'robots.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'}, 'extra/favicon.ico': {'path': 'favicon.ico'},
@ -58,12 +59,12 @@ THUMBNAIL_SIZES = {'thumb':'200x?', 'thumb2x':'400x?'}
# Translations plugin settings # Translations plugin settings
I18N_SUBSITES = { I18N_SUBSITES = {
'en': { 'en': {
'SITESUBTITLE':u'Centre for Everyday Technology', 'SITESUBTITLE': 'Centre for Everyday Technology',
'SITEURL':'varia.zone/en/', 'SITEURL':'varia.zone/en/',
'locale':'en_US.UTF-8' 'locale':'en_US.UTF-8'
}, },
'nl': { 'nl': {
'SITESUBTITLE':u'Centrum voor Alledaagse Technologie', 'SITESUBTITLE': 'Centrum voor Alledaagse Technologie',
'SITEURL':'varia.zone/', 'SITEURL':'varia.zone/',
'locale':'nl.UTF-8' 'locale':'nl.UTF-8'
} }
@ -76,4 +77,4 @@ DATEISH_PROPERTIES = ['event_start', 'event_end']
CATEGORY_URL = '/{slug}.html' CATEGORY_URL = '/{slug}.html'
# 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