-
Notifications
You must be signed in to change notification settings - Fork 9
/
pelicanconf.py
61 lines (54 loc) · 1.6 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
#
# About the site
#
AUTHOR = 'StudyForrest Project'
SITENAME = 'studyforrest.org'
SITEURL = ''
TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = 'en'
LOCALE = 'en_US.UTF-8'
#
# Configure Pelican a bit
#
PATH = 'content'
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = ['tipue_search', 'sitemap', 'headerid']
SITEMAP = { 'format': 'xml' }
THEME = 'theme'
DIRECT_TEMPLATES = ['search'] # unset all templates; use these
STATIC_PATHS = ['data/', 'img/', 'metadata/', 'static/']
EXTRA_PATH_METADATA = {
"static/android-chrome-192x192.png": {'path': ''},
"static/android-chrome-512x512.png": {'path': ''},
"static/apple-touch-icon.png": {'path': ''},
"static/browserconfig.xml": {'path': ''},
"static/favicon-16x16.png": {'path': ''},
"static/favicon-32x32.png": {'path': ''},
"static/favicon.ico": {'path': ''},
"static/mstile-144x144.png": {'path': ''},
"static/mstile-150x150.png": {'path': ''},
"static/mstile-310x150.png": {'path': ''},
"static/mstile-310x310.png": {'path': ''},
"static/mstile-70x70.png": {'path': ''},
"static/safari-pinned-tab.svg": {'path': ''},
"static/site.webmanifest": {'path': ''},
}
FEED_ALL_ATOM = None
AUTHOR_SAVE_AS = False
#
# Configure the site
#
MENUITEMS = ( ('About', 'about.html'),
('Access', 'access.html'),
('Data', 'data.html'),
('Explore', 'explore.html'),
('Publications', 'publications.html'),
)
#
# headerid parameters
#
HEADERID_LINK_CHAR = "<span class='icon-link'></span>"
GENERATE_IDS = True