pelicanconf.py 1.37 KB
Newer Older
1 2 3 4
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

Viviane Pons's avatar
Viviane Pons committed
5
AUTHOR = u'default'
6 7 8 9 10 11 12 13 14 15 16 17 18 19
SITENAME = u'GALaC'
SITEURL = ''
SITESUBTITLE = u'Graphs, Algorithmic and Combinatorics'
SITESEO = u'GALaC LRI Paris-Sud'

PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'

THEME = 'theme'

PLUGIN_PATHS = ['plugins/']
PLUGINS = [
    'i18n_subsites',
Viviane Pons's avatar
Viviane Pons committed
20 21
    'pelican-page-order',
    'edit-page-link',
Viviane Pons's avatar
Viviane Pons committed
22
    'attach-members-page',
23
    'drop-down-menu',
Viviane Pons's avatar
Viviane Pons committed
24
    'articles-on-page',
Viviane Pons's avatar
Viviane Pons committed
25 26
    'render_math',
    'summary'
27 28
]

29 30
INDEX_SAVE_AS = 'blog_index.html'

31
STATIC_PATHS = ["images","documents",'js','php']
32 33 34 35 36

I18N_SUBSITES = {
    'fr': {
        'SITENAME': u'GALaC',
        'SITESEO': u'GALaC LRI Paris-Sud',
Viviane Pons's avatar
Viviane Pons committed
37
        'SITESUBTITLE' : u'Graphes, Algorithmique et Combinatoire'
Viviane Pons's avatar
Viviane Pons committed
38
        }
39 40
    }

41 42 43
I18N_UNTRANSLATED_ARTICLES = 'keep'
I18N_UNTRANSLATED_PAGES = 'keep'

44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
DISPLAY_CATEGORIES_ON_MENU = False

# 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 = None

# Social widget
SOCIAL = None

DEFAULT_PAGINATION = 10

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

# loading members info
import json

Viviane Pons's avatar
Viviane Pons committed
67 68
# gitlri Edit page info

69
EDITLINKBASE = "https://gitlri.lri.fr/galac/website/blob/master/"
70