From 89ab04bb318127de0bb15308774ce145aa8b68e0 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 19 Feb 2016 20:17:12 +0100 Subject: pelicanconf.py: Adding article paths, paths, emptying menu items, social and links. --- pelicanconf.py | 24 +++++++++++++++--------- 1 file 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.*)\..*' # 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 -- cgit v1.2.3-70-g09d2