forked from firehot/wallabag.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
68 lines (48 loc) · 1.73 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
65
66
67
68
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Nicolas L\u0153uillet'
SITENAME = u'wallabag'
PATH = 'content'
WARNING_MESSAGE = u'14/09/2015: We are very proud to announce the release of wallabag 2.0.0-alpha <a href="/blog/2015/09/14/wallabag-v2-alpha-finally" class="alert-link">Please read our blog post</a>.'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
DISPLAY_PAGES_ON_MENU = True
ARTICLE_URL = '{slug}'
DIRECT_TEMPLATES = ('index', 'tags', 'categories', 'archives', 'search')
SITEMAP_SAVE_AS = 'sitemap.xml'
BANNER = 'images/books.jpg'
BANNER_ALL_PAGES = True
BANNER_SUBTITLE = u'Click, save, organize, read it when you want'
DEFAULT_PAGINATION = 6
INDEX_SAVE_AS = 'blog_index.html'
SUMMARY_MAX_LENGTH = None
THEME = "pelican-bootstrap3"
BOOTSTRAP_THEME = 'simplex'
CUSTOM_CSS = 'extra/css/custom.css'
FAVICON = 'images/favicon.ico'
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_TAGS_ON_SIDEBAR = False
TAG_CLOUD_STEPS = 4
TAG_CLOUD_MAX_ITEMS = 10
DISPLAY_TAGS_INLINE = True
MIT_LICENSE = True
HIDE_SITENAME = True
DISPLAY_RECENT_POSTS_ON_SIDEBAR = True
WALLABAG_VERSION = "1.9.1"
WALLABAG_DATE_RELEASE = "2015/08/03"
ARTICLE_URL = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}'
ARTICLE_SAVE_AS = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}.html'
STATIC_PATHS = [
'extra',
'images',
'extra/custom.css',
]
TEMPLATE_PAGES = {'extra/404.html': '404.html'}
EXTRA_PATH_METADATA = {
'extra/c89a2a203e9a6045dd4df81b6ca20289.txt': {'path': 'c89a2a203e9a6045dd4df81b6ca20289.txt'},
'extra/googlef9834aed73023328.html': {'path': 'googlef9834aed73023328.html'},
'extra/CNAME': {'path': 'CNAME'},
'extra/custom.css': {'path': 'static/custom.css'}
}
READERS = {'html': None}