-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpelicanconf.py
More file actions
59 lines (45 loc) · 1.53 KB
/
pelicanconf.py
File metadata and controls
59 lines (45 loc) · 1.53 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
AUTHOR = u'Mike Grouchy'
AUTHOR_EMAIL = 'mgrouchy@gmail.com'
SITENAME = u'Mike Grouchy'
SITEURL = 'http://example.com:8000/'
RELATIVE_URLS = False
TIMEZONE = 'America/Toronto'
DEFAULT_LANG = u'en'
#Social widget
SOCIAL = (('@mgrouchy', 'http://twitter.com/mgrouchy'),
('mgrouchy on GitHub', 'http://github.com/mgrouchy'),)
DEFAULT_PAGINATION = 15
WEBASSETS = True
THEME = "dinky-pelican"
# syte settings
ABOUT = u''
SITE_DESCRIPTION = u''
SITE_KEYWORDS = u''
GOOGLE_PLUSONE = True
GITHUB_INTEGRATION_ENABLED = True
GITHUB_USERNAME = 'mgrouchy'
GRAVATAR = "mgrouchy@gmail.com"
EMAIL = "mgrouchy@gmail.com"
DISQUS_SITENAME = "mikegrouchy"
TWITTER_INTEGRATION_ENABLED = True
TWITTER_USERNAME = 'mgrouchy'
# other settings
SUMMARY_MAX_LENGTH = None
COPYRIGHT_YEARS = "2008-2014"
ARTICLE_URL = 'blog/{date:%Y}/{date:%m}/{slug}.html'
ARTICLE_SAVE_AS = 'blog/{date:%Y}/{date:%m}/{slug}.html'
BIO = "Ambitious Python Developer, Beer drinker and lover of all things basketball."
TEMPLATE_PAGES = {
'override-content/be-pythonic-initpy.html': 'blog/be-pythonic-initpy.html',
'override-content/compile-vim-with-python-on-osx-with-homebrew.html': 'blog/compile-vim-with-python-on-osx-with-homebrew.html',
'override-content/zsh-is-your-friend.html': 'blog/zsh-is-your-friend.html',
'override-content/introducing-pycoders-weekly.html': 'blog//introducing-pycoders-weekly.html',
'CNAME': 'CNAME',
}
PAGE_URL = '{slug}.html'
PAGE_SAVE_AS = '{slug}.html'
SITEMAP = {
'format': 'xml',
}