forked from jona-sassenhagen/popsi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
89 lines (66 loc) · 2.15 KB
/
pelicanconf.py
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Jona Sassenhagen'
SITENAME = "Frankfurt Open Science Initiative"#"POPSI"#'F<br>O<br>P<br>S<br>I<br><br>4<br>E<br>V<br>A'
SITEURL = 'https://jona-sassenhagen.github.io/popsi/'
PATH = 'content'
TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = 'en'
DEFAULT_DATE = 'fs'
# 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 = (
#('Pelican', 'http://getpelican.com/'),
# ('Python.org', 'http://python.org/'),
# ('Jinja2', 'http://jinja.pocoo.org/'),
# ('You can modify those links in your config file', '#'),
('Open Science Foundation', 'osf.io'),
)
#SITELOGO = '../content/images/goethe.png'
#LACES_SITELOGO = {
# 'file': '../content/images/goethe.png',
# 'width': 100,
#}
BANNER = 'images/goethe.png'
HEADER_COVER = "../content/images/banner.png"
LACES_BANNER = {"file": 'content/images/goethe.png',
"subtitle": "",
"all_pages": True
}
BANNER_SUBTITLE = ''
BANNER_ALL_PAGES = True
#BOOTSTRAP_THEME = 'Lumen'
# Social widget
SOCIAL = (('Open Science Initiative University of Marburg',
'https://openscienceinitiativeuniversitymarburg.github.io'),
("Goethe University Frankfurt", "https://www.goethe-university-frankfurt.de/")
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
PLUGIN_PATHS = ['/Users/jona/tools/pelican-plugins/',]
PLUGINS = ['i18n_subsites',]
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n'],}
BOOTSTRAP_THEME = 'Spacelab'
#THEME = "/Users/jona/tools/pelican-themes/clean-blog"
#THEME = "/Users/jona/tools/pelican-themes/attila"
#THEME = "/Users/jona/tools/pelican-themes/pelican-bootstrap3"
#THEME = "laces3"
THEME = "blueidea"
DISPLAY_PAGES_ON_MENU = True
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_CATEGORIES_ON_SUBMENU = True
DISPLAY_SEARCH_FORM = True
TYPOGRIFY = True
STATIC_PATHS = ["resources/protocols", "images"]
MARKDOWN = {
'extension_configs': {
'markdown.extensions.tables':{},
}
}