forked from victorneo/pugs-org-sg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
65 lines (48 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'webmaster'
SITENAME = u'Python User Group Singapore'
SITEURL = ''
# default text in the footer
COPYRIGHT = u'Copyright © 2009 – 2015, Python User Group Singapore'
DEFAULT_LANG = u'en'
TIMEZONE = 'Asia/Singapore'
PLUGIN_PATHS = ['plugins']
PLUGINS = ['pin_to_top']
THEME = 'theme/pugs_zf'
AUTHOR_SAVE_AS = 'author/{slug}.html'
AUTHORS_SAVE_AS = 'author/{slug}.html'
DISPLAY_PAGES_ON_MENU = False # see MENUITEMS
DEFAULT_PAGINATION = False
# ARTICLE_URL = 'articles/{slug}'
# ARTICLE_SAVE_AS = 'articles/{slug}/index.html'
PAGE_URL = 'pages/{slug}.html'
PAGE_SAVE_AS = 'pages/{slug}.html'
# CATEGORY_URL = 'category/{slug}'
# CATEGORY_SAVE_AS = 'category/{slug}/index.html'
# TAG_URL = 'tag/{slug}'
# TAG_SAVE_AS = 'tag/{slug}/index.html'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
MENUITEMS = (
('About', '/pages/about.html'),
('Bylaws', '/pages/bylaws.html'),
('Organization', '/pages/org.html'),
('Learning', '/pages/learning.html'),
)
LINKS = (
('PyConSG', 'http://pycon.sg/'),
('Mailing list', 'https://groups.google.com/forum/#!forum/pythonsg'),
('Facebook group', 'https://www.facebook.com/groups/pythonsg/'),
('Meetup group', 'http://www.meetup.com/Singapore-Python-User-Group/'),
)
STATIC_PATHS = [
'CNAME',
'img'
]
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
GOOGLE_ANALYTICS = 'UA-46193746-3'