aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-04-03 05:08:26 +0200
committerDavid Runge <dave@sleepmap.de>2015-04-03 05:08:26 +0200
commitc6bc42859fa412c2605e6ccd8087807abcc44e8b (patch)
treed8475d0273766ac6b5fd16bc1d2e7bfda3bfe68b
parent6589b17bc0bdd7730c22b6ba5ebc08ce06a3c7d6 (diff)
downloadsleepmap-c6bc42859fa412c2605e6ccd8087807abcc44e8b.tar.gz
sleepmap-c6bc42859fa412c2605e6ccd8087807abcc44e8b.tar.bz2
sleepmap-c6bc42859fa412c2605e6ccd8087807abcc44e8b.tar.xz
sleepmap-c6bc42859fa412c2605e6ccd8087807abcc44e8b.zip
pelicanconf.py: Adding I18N_SUBSITES again, removing DISPLAY_PAGES_ON_MENU (default)
-rw-r--r--pelicanconf.py24
1 files changed, 13 insertions, 11 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index b57e400..99f7c8c 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -11,25 +11,27 @@ AUTHOR_FEED_RSS = None
CATEGORY_FEED_ATOM = None
DEFAULT_LANG = 'en'
DEFAULT_PAGINATION = 30
-DISPLAY_PAGES_ON_MENU = False
FEED_ALL_ATOM = None
# mapping: language_code -> settings_overrides_dict
I18N_SUBSITES = {
- 'en': {
- 'SITENAME': 'Sleep Map',
- },
- 'de': {
- 'SITENAME': 'Sleep Map',
- }
+ 'en': {
+ 'SITENAME': 'Sleep Map',
+ },
+ 'de': {
+ 'SITENAME': 'Sleep Map',
+ }
}
# Blogroll
LINKS = (
- ('Arch Linux', 'https://archlinux.org'),
- ('NetworkSEC', 'http://networksec.de'),
- ('Freakquenzy Records e.V.', 'http://frqrec.de'),
- ('Waldeck-Freakquenz', 'http://waldeck-freakquenz.de'),
+ ('Arch Linux', 'https://archlinux.org'),
+ ('NetworkSEC', 'http://networksec.de'),
+ ('Freakquenzy Records e.V.', 'http://frqrec.de'),
+ ('Waldeck-Freakquenz', 'http://waldeck-freakquenz.de'),
)
LOAD_CONTENT_CACHE = False
+MENUITEMS = (
+ ('Blog', 'http://sleepmap.de'),
+)
PATH = 'content'
PATH_METADATA = 'pages/(?P<path>.*)\..*' # Make pages top-level (remove /pages/ from each URL)
# Plugins