-
Notifications
You must be signed in to change notification settings - Fork 5
/
pelicanconf.py
58 lines (47 loc) · 2.14 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'the PrivateBin Project'
ABOUT_ME = 'PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted / decrypted in the browser using 256bit AES in Galois Counter mode.'
SITENAME = u'PrivateBin'
SITEURL = ''
PATH = 'content'
STATIC_PATHS = ['codedoc','coverage','img','jscoverage','jsdoc','key','.well-known']
ARTICLE_EXCLUDES = ['codedoc','coverage','jscoverage','jsdoc']
THEME = 'themes/privatebin-bootstrap'
TIMEZONE = 'Europe/Zurich'
LOCALE = ('en_US.utf8')
DATE_FORMATS = {
'en': '%A, %d. %B %Y'
}
DEFAULT_LANG = u'en'
# 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
# Navigation
MENUITEMS = (('FAQ', 'https://github.com/PrivateBin/PrivateBin/wiki/FAQ'),
('Wiki', 'https://github.com/PrivateBin/PrivateBin/wiki'),
('Issues', 'https://github.com/PrivateBin/PrivateBin/issues'),
('Find instance', '/directory/'))
# Blogroll
LINKS = (('Installation guide', 'https://github.com/PrivateBin/PrivateBin/blob/master/doc/Installation.md'),
('Configuration guide', 'https://github.com/PrivateBin/PrivateBin/wiki/Configuration'),
('Template guide', 'https://github.com/PrivateBin/PrivateBin/wiki/Templates'),
('Developer guide', 'https://github.com/PrivateBin/PrivateBin/wiki/Development'),
('Third-party clients', 'https://github.com/PrivateBin/PrivateBin/wiki/Third-party-clients'),
('PHP Code Documentation', '/codedoc/'),
('PHP Unit Test Coverage', '/coverage/'),
('JS Code Documentation', '/jsdoc/'),
('JS Unit Test Coverage', '/jscoverage/'),)
# Social widget
SOCIAL = ()
# Theme specific settings
DISPLAY_ARTICLE_INFO_ON_INDEX = True
GITHUB_RIBBON_URL = 'https://github.com/PrivateBin/PrivateBin'
TRYITOUT_BUTTON_URL = 'https://privatebin.net/'
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True