forked from PrivateBin/privatebin.info-pelican
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
57 lines (46 loc) · 2.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
50
51
52
53
54
55
56
57
#!/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','jsdoc','key']
ARTICLE_EXCLUDES = ['codedoc','coverage','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'),)
# Blogroll
LINKS = (('PrivateBin Directory', 'https://github.com/PrivateBin/PrivateBin/wiki/PrivateBin-Directory'),
('Installation guide', 'https://github.com/PrivateBin/PrivateBin/wiki/Installation'),
('Upgrading from ZeroBin 0.19 Alpha', 'https://github.com/PrivateBin/PrivateBin/wiki/Upgrading-from-ZeroBin-0.19-Alpha'),
('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'),
('PHP Code Documentation', '/codedoc/'),
('PHP Unit Test Coverage', '/coverage/'),
('JS Code Documentation', '/jsdoc/'),)
# 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