-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
70 lines (55 loc) · 1.58 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
69
70
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'DevOpsCarioca'
SITENAME = 'DevOpsCarioca'
SITEURL = 'http://www.devopscarioca.com.br'
GITHUB_URL = 'http://github.com/DevOpsCarioca'
TWITTER_URL = 'http://twitter.com/DevOpsCarioca'
FACEBOOK_URL = 'http://facebook.com/DevOpsCarioca'
PATH = 'content'
THEME = "theme"
TIMEZONE = 'America/Sao_Paulo'
DEFAULT_LANG = '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
# Next meetup info
MEETUP_DATE_LABEL = "Próximo encontro: "
MEETUP_DATE = "a definir"
MEETUP_PLACE_LABEL = "Local: "
MEETUP_PLACE = "a definir"
MEETUP_ADDRESS_LABEL = "Endereço: "
MEETUP_ADDRESS = "a definir"
# Blogroll
LINKS = (
('Pelican', 'http://getpelican.com/'),
('Python.org', 'http://python.org/'),
('Jinja2', 'http://jinja.pocoo.org/'),
('You can modify those links in your config file', '#'),
)
# Social widget
SOCIAL = (
('MeetUp', 'http://www.meetup.com/pt/DevOps-Carioca/'),
('Facebook', 'https://www.facebook.com/DevOpsCarioca/'),
('Twitter', 'https://twitter.com/devopscarioca'),
)
DEFAULT_PAGINATION = 10
# Extras
STATIC_PATHS = [
'images',
'extras/CNAME',
'extras/robots.txt',
'extras/README',
'extras/favicon.ico',
]
EXTRA_PATH_METADATA = {
'extras/CNAME': {'path': 'CNAME'},
'extras/robots.txt': {'path': 'robots.txt'},
'extras/README': {'path': 'README'},
'extras/favicon.ico': {'path': 'favicon.ico'}
}
RELATIVE_URLS = True