-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpelicanconf.py
51 lines (41 loc) · 1.07 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
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
from decouple import config
AUTHOR = 'Python Sul'
SITENAME = 'Python Sul 2020'
SITEURL = config('SITE_URL', default='')
PATH = 'content'
PLUGIN_PATHS = ['plugins/', ]
PLUGINS = ['sitemap', ]
SITEMAP = {
'format': 'xml',
'exclude': [
'tags.html', 'categories.html', 'authors.html', 'archives.html'
]
}
ARTICLE_ORDER_BY = 'basename'
TIMEZONE = 'America/Sao_Paulo'
DEFAULT_LANG = 'pt-br'
# 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
# Blogroll
LINKS = (
('2014', '#'),
('2015', '#'),
('2016', '#'),
('2018', '#'),
('2019', '#'),
)
# Social widget
SOCIAL = {
'instagram': 'https://www.instagram.com/pythonsul/',
'twitter': 'https://www.twitter.com/pythonsul',
'facebook': 'https://www.facebook.com/pythonsul',
}
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True