aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-04-02 19:23:30 +0200
committerDavid Runge <dave@sleepmap.de>2015-04-02 19:23:30 +0200
commit7ef3ffdd90f216ca6aa605bb8913b5efdfc2e5d3 (patch)
tree73d6c2b60854936396da0b403ac51918cf953337
parent8074b62fe0a97561a74da3089f473ffe015a25cf (diff)
downloadsleepmap-7ef3ffdd90f216ca6aa605bb8913b5efdfc2e5d3.tar.gz
sleepmap-7ef3ffdd90f216ca6aa605bb8913b5efdfc2e5d3.tar.bz2
sleepmap-7ef3ffdd90f216ca6aa605bb8913b5efdfc2e5d3.tar.xz
sleepmap-7ef3ffdd90f216ca6aa605bb8913b5efdfc2e5d3.zip
pelicanconf.py: Adding ARTICLE_PATH, ARTICLE_SAVE_AS and ARTICLE_URL, after moving articles to single location (blog) and disabling USE_FOLDER_AS_CATEGORY. Extending STATIC_PATHS by more static paths. Adding relative PLUGIN_PATHS and enabling pelican-page-hierarchy.
-rw-r--r--pelicanconf.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index a23d6c7..7e9332a 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -2,10 +2,16 @@
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
+
+
AUTHOR = 'David Runge'
+ARTICLE_PATHS = ['blog']
+ARTICLE_SAVE_AS = '{date:%Y}/{slug}.html'
+ARTICLE_URL = '{date:%Y}/{slug}.html'
SITENAME = 'Sleep Map'
SITEURL = 'http://sleepmap.de'
+
PATH = 'content'
TIMEZONE = 'Europe/Berlin'
@@ -37,4 +43,9 @@ THEME = 'sleepmap-theme'
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
-STATIC_PATHS = [ 'downloads' ]
+STATIC_PATHS = [ 'downloads', 'icons', 'images', 'music' ]
+
+USE_FOLDER_AS_CATEGORY = False
+
+PLUGIN_PATHS = ['../pelican/plugins/']
+PLUGINS = ['pelican-page-hierarchy']