forked from DragonSprint/dragonsprint.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
58 lines (47 loc) · 1.79 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Ljubljana Pyramid Hackers'
SITENAME = u'A full week of sprinting on Pyramid'
SITESUBTITLE = u'5 to 9 December 2016, set in the beautiful Ljubljana, Slovenia'
SITEURL = 'https://dragonsprint.com'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
DEFAULT_CATEGORY = ''
# 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
# Sponsors & Partners
LINKS = (
('Steve Piercy', 'http://www.stevepiercy.com/'),
('Domen Kožar', 'https://www.domenkozar.com/'),
('Diana Clarke', 'http://dragonsprint.com/pages/sponsors.html'),
)
# Social widget
EMAIL = 'mailto:[email protected]'
SOCIAL = (
('Github', 'https://github.com/pylons/pyramid/issues?q=is%3Aissue+is%3Aopen+label%3Asprintable'),
('Twitter', 'https://twitter.com/DragonSprintCom'),
('Meetup', 'https://www.meetup.com/Ljubljana-Python-Group/'),
)
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
# GitHub custom domain support
STATIC_PATHS = ['images', 'extra/CNAME']
EXTRA_PATH_METADATA = {'extra/CNAME': {'path': 'CNAME'}, }
# Theme
THEME = "themes/backdrop"
PAGINATED_DIRECT_TEMPLATES = ('categories', 'archives')
PLUGIN_PATHS = ['plugins', ]
PLUGINS = [
'representative_image',
]
BACKDROP_IMAGE = '/theme/images/backdrop.jpg'
FAVICON = '/theme/images/favicon.ico'
SITE_DESCRIPTION = 'DragonSprint is a week-long sprint on Pyramid. The sprint takes place in Ljubljana, Slovenia, EU in the first week of December (5th to 9th). The main two sprint topics are <i>Pyramid 2.0</i> and Pyramid for Newcomers.'
YEAR = '2016'