pelicanconf.py 1.13 KB
Newer Older
paugier's avatar
paugier committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

AUTHOR = u'Pierre Augier'
SITENAME = u"PySciDataGre group website"

# for developing (redefined in publishconf.py)
SITEURL = ''

PATH = 'content'

TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'fr'

THEME = 'theme'
STATIC_PATHS = ['images', 'docs']

DIRECT_TEMPLATES = ('index', 'categories', 'authors', 'archives',
                    'publications')

# Plugins
PLUGIN_PATHS = ['plugins']
PLUGINS = []

# 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

# Blogroll
LINKS = (('Python.org', 'http://python.org/'),
         ('UGA', 'https://www.univ-grenoble-alpes.fr/'),
         ('CNRS', 'http://www.cnrs.fr'))

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

DEFAULT_PAGINATION = False

RELATIVE_URLS = True

#TAGS_SAVE_AS = ''
#TAG_SAVE_AS = ''

PUBLICATIONS_SRC = 'content/pubs.bib'

READERS = {'html': None}
IGNORE_FILES = ['*~']
ARTICLE_EXCLUDES = ['docs/ipynbslides']