forked from datalad/datalad.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
executable file
·49 lines (41 loc) · 1.12 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
#
# About the site
#
AUTHOR = u'DataLad Team'
SITENAME = u'DataLad'
SITEURL = ''
TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = u'en'
LOCALE = u'en_US.UTF-8'
#
# Configure Pelican a bit
#
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = [ 'better_tables', 'headerid', 'sitemap' ]
SITEMAP = { 'format': 'xml' }
THEME = 'theme/'
# Disable all feed generation
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
HEADERID_LINK_CHAR = ''
#
# Configure the site
#
STATIC_PATHS = ['asciicast', 'css', 'js', 'img']
MENUITEMS = [ ('About', '/about.html', None),
('Get DataLad', '/get_datalad.html', None),
('Features', '/features.html', None),
('Datasets', '/datasets.html', None),
('Integrations', '/integrations.html', None),
('Development', '/development.html', None),
('Docs', 'http://docs.datalad.org', '_blank'),
]
DEFAULT_PAGINATION = False
# We prefer document-relative URLs
RELATIVE_URLS = True