-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpelicanconf.py
76 lines (61 loc) · 1.8 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
71
72
73
74
75
76
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Lopez Brothers'
FAVICON = '/favicon.ico'
SITELOGO = '/images/Devlo-Logo.png'
SITENAME = u'DevLo Software Blog'
#SITETITLE = u'DevLo'
SITEURL = 'http://localhost:8000'
SITESUBTITLE = 'Lopez Brothers Blog'
SITEDESCRIPTION = 'DevLo - Software Blog.'
THEME = "./Flex"
HOME_HIDE_TAGS = True
PYGMENTS_STYLE = "arduino"
DISABLE_URL_HASH = True
ROBOTS = 'index, follow'
PATH = 'content'
TIMEZONE = 'MST'
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
# Blogroll
#LINKS = (('', ''),('Contact', 'http://python.org/'))
# Social widget
MIGUEL_SOCIAL = (('linkedin', 'https://www.linkedin.com/in/lopezm1/'),
('github', 'https://github.com/lopezm1'))
SERGIO_SOCIAL = (('linkedin', 'https://www.linkedin.com/in/sergiolopezjr/'),
('github', 'https://github.com/sergoh'))
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
STATIC_PATHS = ['images', 'extra']
EXTRA_PATH_METADATA = {
'extra/CNAME': {'path': 'CNAME'},
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/ads.txt': {'path': 'ads.txt'},
'extra/robots.txt': {'path': 'robots.txt'},
}
CUSTOM_CSS = 'extra/static/custom.css'
SITEMAP = {
"format": "xml",
"priorities": {
"articles": 0.8,
"indexes": 0.5,
"pages": 0.5
},
"changefreqs": {
"articles": "daily",
"indexes": "monthly",
"pages": "monthly"
}
}
# Menu
MAIN_MENU = True
MENUITEMS = (('Archives', '/archives.html'),
('Categories', '/categories.html'),
('Tags', '/tags.html'),)