24/09/2020 : le runner partagé est actuellement indisponible.

pelicanconf.py 1.2 KB
Newer Older
paugier's avatar
paugier committed
1 2 3 4
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

paugier's avatar
paugier committed
5
AUTHOR = u'Les gentils organisateurs'
paugier's avatar
paugier committed
6 7 8 9 10 11 12 13 14 15 16
SITENAME = u"PySciDataGre group website"

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

PATH = 'content'

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

THEME = 'theme'
17
STATIC_PATHS = ['images', 'docs','files']
paugier's avatar
paugier committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

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/'),
paugier's avatar
paugier committed
35
         ('AFPY', 'https://www.afpy.org/'),
paugier's avatar
paugier committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
         ('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']