summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-02-19 20:17:12 +0100
committerDavid Runge <dave@sleepmap.de>2016-02-19 20:17:12 +0100
commit89ab04bb318127de0bb15308774ce145aa8b68e0 (patch)
treef675af803f249d36eb0b2add89b25617f9e53b28
parent831626455f1c1224f7e3a6cf945947a96bcdcfab (diff)
downloadchintaa-89ab04bb318127de0bb15308774ce145aa8b68e0.tar.gz
chintaa-89ab04bb318127de0bb15308774ce145aa8b68e0.tar.bz2
chintaa-89ab04bb318127de0bb15308774ce145aa8b68e0.tar.xz
chintaa-89ab04bb318127de0bb15308774ce145aa8b68e0.zip
pelicanconf.py: Adding article paths, paths, emptying menu items, social and links.
-rw-r--r--pelicanconf.py24
1 files changed, 15 insertions, 9 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index d4ea8fd..311efdf 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -2,11 +2,23 @@
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
+ARTICLE_PATHS = ['blog']
+ARTICLE_SAVE_AS = '{date:%Y}/{slug}.html'
+ARTICLE_URL = '{date:%Y}/{slug}.html'
AUTHOR = 'David Runge & Rahul Gudipudi'
+# Uncomment following line if you want document-relative URLs when developing
+RELATIVE_URLS = True
SITENAME = 'chintaa'
-SITEURL = ''
+SITEURL = 'http://chintaa.org'
PATH = 'content'
+LOAD_CONTENT_CACHE = False
+MENUITEMS = ()
+PATH = 'content'
+PATH_METADATA = 'pages/(?P<path>.*)\..*' # Make pages top-level (remove /pages/ from each URL)
+# Plugins
+PLUGIN_PATHS = ['pelican-plugins/']
+PLUGINS = [ 'i18n_subsites', 'pelican-page-hierarchy']
TIMEZONE = 'Europe/Paris'
@@ -20,16 +32,10 @@ AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
-LINKS = (('Pelican', 'http://getpelican.com/'),
- ('Python.org', 'http://python.org/'),
- ('Jinja2', 'http://jinja.pocoo.org/'),
- ('You can modify those links in your config file', '#'),)
+LINKS = ()
# Social widget
-SOCIAL = (('You can add links in your config file', '#'),
- ('Another social link', '#'),)
+SOCIAL = ()
DEFAULT_PAGINATION = 10
-# Uncomment following line if you want document-relative URLs when developing
-#RELATIVE_URLS = True