-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
71 lines (56 loc) · 1.53 KB
/
settings.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
69
70
71
# -*- coding: utf-8 -*-
LOCALE = ('en_US',)
DEFAULT_DATE_FORMAT = '%-d/%-m/%Y'
AUTHOR = u'Aquiles Carattino'
SITENAME = u'Python For The Lab'
SITEURL = u'http://localhost:8000'
TIMEZONE = 'Europe/Amsterdam'
TEMPLATE_PAGES = {
'books.html': 'books/index.html',
'about.html': 'about/index.html',
'hire_me.html': 'hire-me/index.html',
'courses.html': 'courses/index.html',
'static_index.html': 'index.html',
'404.html': '404.html',
}
THEME = 'theme'
STATIC_PATHS = ['images', 'static']
# STATIC_EXCLUDE_SOURCES = False
ARTICLE_URL = 'blog/{slug}'
ARTICLE_SAVE_AS = 'blog/{slug}/index.html'
PAGE_SAVE_AS = '{slug}/index.html'
SITEMAP = {
'format': 'xml',
'priorities': {
'articles': 0.9,
'indexes': 0.5,
'pages': 0.5
},
'changefreqs': {
'articles': 'monthly',
'indexes': 'weekly',
'pages': 'monthly'
},
'exclude': ['tag/', 'category/', 'categories.html', 'tags.html', 'search/'],
}
FEED_DOMAIN = 'https://www.pythonforthelab.com'
FEED_RSS = 'feed.rss'
# MARKUP = ('rst', 'markdown',)
RELATIVE_URLS = False
INDEX_SAVE_AS = 'blog/index.html'
DEFAULT_PAGINATION = 10
MARKDOWN = {
'extension_configs': {
'markdown.extensions.extra': {},
'markdown.extensions.meta': {},
'markdown.extensions.fenced_code': {},
'markdown.extensions.admonition': {},
},
'output_format': 'html5',
}
SIMILAR_POSTS_MAX_COUNT = 3
CSS_MIN = False
HTML_MIN = False
JS_MIN = False
INLINE_CSS_MIN = False
INLINE_JS_MIN = False