diff options
-rw-r--r-- | pelicanconf.py | 24 |
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 |