From 7ef3ffdd90f216ca6aa605bb8913b5efdfc2e5d3 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 2 Apr 2015 19:23:30 +0200 Subject: 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. --- pelicanconf.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'pelicanconf.py') 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'] -- cgit v1.2.3-54-g00ecf