forked from genegrey/govhackwelly
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpelicanconf.py
77 lines (50 loc) · 1.84 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
AUTHOR = u'aimee whitcroft'
SITENAME = u'GovHack Wellington'
SITEURL = 'https://govhacknz.github.io/govhackwelly/'
PATH = 'content'
PAGE_PATHS = ['pages']
ARTICLE_PATHS = ['articles']
STATIC_PATHS = ['images']
THEME_PATHS = ['themes']
THEME = 'themes/pelican-bootstrap3'
# Logo & banner
BANNER = '/images/plainwhitebanner.png'
BANNER_SUBTITLE = 'empower.enable.connect || 3-5 July 2015'
BANNER_ALL_PAGES = True
SITELOGO = 'images/GovHackFinalNoTaglineColour.png'
SITELOGO_SIZE = 40
HIDE_SITENAME = True
#Plugins
PLUGIN_PATH = 'plugins'
#Tipue search
PLUGINS = ['tipue_search']
DIRECT_TEMPLATES = (('index', 'tags', 'categories', 'authors', 'archives', 'search'))
TIMEZONE = 'Pacific/Auckland'
DEFAULT_LANG = u'en'
PAGE_ORDER_BY = 'sortorder'
# ARTICLE_ORDER_BY = 'xxx'
# 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 = (('GovHack', 'http://www.govhack.org'),
('Hack Miramar', 'http://www.hackmiramar.org/'),)
# Social widget
SOCIAL = (('Facebook' , 'https://www.facebook.com/govhackwellington'),)
SPONSORS = (('Fujitsu', 'http://fujitsu.co.nz', 'http://www.fujitsu.com/au/resources/design/stylesheets/images/css_images/fujitsu/symbolmark.gif'), ('Silverstripe', 'http://silverstripe.com', 'https://scontent.xx.fbcdn.net/hprofile-xta1/v/l/t1.0-1/p50x50/1800250_10150370979104946_1786160472_n.png?oh=7b816ea8eb311d5557994453022962af&oe=55C3A67C'))
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
#Tags
TAG_CLOUD_MAX_ITEMS = 10
#Categories
DISPLAY_CATEGORIES_ON_MENU = False
#Authors
SHOW_ARTICLE_AUTHOR = True
SHOW_ARTICLE_CATEGORY = True