-
Notifications
You must be signed in to change notification settings - Fork 18
/
pelicanconf.py
73 lines (56 loc) · 1.61 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
DEBUG = 1
AUTHOR = 'PyDelhi'
AUTHOR_EMAIL = '[email protected]'
SITENAME = 'PyDelhi Blog'
SITEURL = ''
SITESUBTITLE = 'Python Delhi Users Group'
PATH = 'content'
TIMEZONE = 'Asia/Kolkata'
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
FEED_ATOM = 'feeds/atom.xml'
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
FEED_RSS = 'feeds/rss.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'
CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'
# Blogroll
LINKS = (
('PyDelhi.org', 'http://pydelhi.org'),
('About PyDelhi', 'https://pydelhi.org/pydelhi-intro'),
('Mailing list', 'http://bit.ly/pydelhi-mailinglist'),
('Conference', 'https://conference.pydelhi.org'),
)
# Social widget
SOCIAL = (
('Twitter', 'http://bit.ly/pydelhi-twitter'),
('Github', 'https://github.com/pydelhi'),
('Facebook', 'http://bit.ly/pydelhi-facebook'),
('Google+', 'http://bit.ly/pydelhi-google'),
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
# Extra files to copy
STATIC_PATHS = [
'images',
'extra/robots.txt',
'extra/humans.txt',
'extra/favicon.ico'
]
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
'extra/humans.txt': {'path': 'humans.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'},
}
# settings for Pelican
DEFAULT_CATEGORY = 'General'
THEME = 'theme/pydelhi'
DISQUS_SITENAME = ""
# Plugins
PLUGIN_PATHS = ['plugins']
PLUGINS = ['gravatar']
PRIVACY_POLICY_URL = ""