pelicanconf.py

Thu, 10 Mar 2016 22:00:19 +0100

author
David Douard <david.douard@logilab.fr>
date
Thu, 10 Mar 2016 22:00:19 +0100
changeset 29
2638f5cf375c
parent 26
acdf2e764a88
child 33
053b462b3983
child 34
871fcc94f63e
permissions
-rw-r--r--

[2445] publish the 2445 PSU repair (part 1)

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

AUTHOR = u'David Douard'
SITENAME = u'Whatever'
SITEURL = 'https://whatever.sdfa3.org'

PATH = 'content'

TIMEZONE = 'Europe/Paris'

DEFAULT_LANG = u'en'

# Feed generation is usually not desired when developing
#FEED_ALL_ATOM = None
#CATEGORY_FEED_ATOM = None
#TRANSLATION_FEED_ATOM = None
#AUTHOR_FEED_ATOM = None
#AUTHOR_FEED_RSS = None
FEED_RSS = 'feeds/rss.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'

# 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', '#'),)

# Social widget
SOCIAL = (('You can add links in your config file', '#'),
          ('Another social link', '#'),)

DEFAULT_PAGINATION = 10

# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True

STATIC_PATHS = ['images', 'pdfs']

PLUGIN_PATHS = ['pelican-plugins',]
PLUGINS = ['better_figures_and_images',]
RESPONSIVE_IMAGES = True

mercurial