-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
64 lines (51 loc) · 1.5 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
AUTHOR = "Kili.io, Inc"
SITENAME = "Kili"
SITEURL = "http://help.kili.io"
TIMEZONE = "Africa/Nairobi"
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = "feeds/all.rss.xml"
CATEGORY_FEED_ATOM = "feeds/%s.rss.xml"
TRANSLATION_FEED_ATOM = None
# Blogroll
#LINKS = (("kili", "http://kili.io"),)
# Social widget
SOCIAL = (("github", "http://github.com/kili"),
("twiter", "http://www.twiter.com/kili_cloud"),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
# global metadata to all the contents
#DEFAULT_METADATA = (('key', 'val'),)
# path-specific metadata
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
}
# static paths will be copied without parsing their contents
STATIC_PATHS = [
'img',
'js',
'css',
'extra/robots.txt',
'CNAME',
]
# code blocks with line numbers
PYGMENTS_RST_OPTIONS = {'linenos': 'table'}
#kili specific prefs
GITHUB_URL = "http://github.com/kili/help.kili.io"
#DISQUS_SITENAME = "kilihelpdocs"
PDF_GENERATOR = False
REVERSE_CATEGORY_ORDER = True
LOCALE = "C"
DEFAULT_DATE = (1969, 12, 31, 23, 59, 59)
THEME = "pelican-kili-theme"
HIDE_SIDEBAR = True
CUSTOM_CSS = 'css/kili.css'
SHOW_ARTICLE_AUTHOR = True
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_ARCHIVES_ON_MENU = False
DEFAULT_DATE_FORMAT = ('%B %d, %Y')