-
Notifications
You must be signed in to change notification settings - Fork 6
/
pelicanconf.py
62 lines (47 loc) · 1.52 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'DLR'
SITENAME = u'The TiGL Geometry Library'
SITEURL = ''
SITE_SUMMARY = 'The TiGL Geometry Library to process aircraft geometries in pre-design.'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
LOCALE = "C"
DEFAULT_DATE_FORMAT = '%a %d %B %Y'
THEME = 'themes/polar'
# 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 = (('Institute for Software Technology', 'http://www.dlr.de/sc'),
('Imprint', '%s/pages/imprint.html' % SITEURL),
('Privacy', '%s/pages/privacy.html' % SITEURL),
('Terms of use', '%s/pages/terms-of-use.html' % SITEURL),
('Accessibility', '%s/pages/accessibility.html' % SITEURL),)
# Social widget
SOCIAL = ()
DEFAULT_PAGINATION = 10
SITEMAP = {
'exclude': ['author/'],
'format': 'xml',
'changefreqs': {
'articles': 'weekly',
'pages': 'monthly',
'indexes': 'yearly'
}
}
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
# Static paths
STATIC_PATHS = ['images', 'pages/images', 'extra/CNAME', 'doc']
ARTICLE_EXCLUDES = ['doc']
# Plugins
PLUGIN_PATHS = ["plugins"]
PLUGINS = ['pelican-page-hierarchy.page_hierarchy', 'sitemap', 'pelican-open_graph']
# Github pages domain name
# EXTRA_PATH_METADATA = {'extra/CNAME': {'path': 'CNAME'},}