-
Notifications
You must be signed in to change notification settings - Fork 10
/
pelicanconf.py
53 lines (47 loc) · 1.25 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
#
# About the site
#
AUTHOR = 'DataLad Developers'
SITENAME = 'DataLad'
SITEURL = ''
TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = 'en'
LOCALE = 'en_US.UTF-8'
#
# Configure Pelican a bit
#
PATH = 'content'
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = [ 'sitemap' ]
SITEMAP = { 'format': 'xml' }
THEME = 'theme'
DIRECT_TEMPLATES = ['404'] # unset all templates
STATIC_PATHS = ['img/', 'static/', 'badges/']
EXTRA_PATH_METADATA = {
"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/humans.txt": {'path': ''},
"static/leitfaden.pdf": {'path': ''},
"static/manifest.json": {'path': ''},
"static/mstile-150x150.png": {'path': ''},
"static/robots.txt": {'path': ''},
}
FEED_ALL_ATOM = None
#
# Configure the site
#
MENUITEMS = (
('about', '/#what-is-datalad'),
('install', '/#install'),
('use cases', '/#use-cases'),
('learn more', '/#resources'),
('get support', '/#get-support'),
('cite', '/#cite'),
('merchandise', 'https://www.hellotux.com/datalad'),
)