-
Notifications
You must be signed in to change notification settings - Fork 27
/
publishconf.py
101 lines (89 loc) · 4.88 KB
/
publishconf.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
AUTHOR = u"Loadays Crew"
SITENAME = u"LOADays"
#SITEURL = ''
TIMEZONE = 'Europe/Brussels'
DEFAULT_LANG = 'en'
FEED_RSS = 'feeds/rss.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'
MD_EXTENSIONS = ['codehilite', 'extra', 'toc', 'fenced_code', 'footnotes']
MARKUP = ['md', 'rst', 'html' ]
THEME = 'content/theme/loadays'
OUTPUT_PATH = "output/"
DELETE_OUTPUT_DIRECTORY = False
PATH= ('content/')
PAGE_PATHS = ['pages/']
ARTICLE_PATHS = ['posts/']
MENUITEMS = (
('Home', '/'),
('Venue','/pages/venue.html'),
# ('Schedule','/pages/schedule.html'),
('CfP', 'https://cfp.loadays.org/2019/cfp'),
('Social','/pages/social.html'),
('FAQ','/pages/faq.html'),
('Sponsors','/pages/sponsors.html'),
('CoB', '/pages/code-of-behaviour.html'),
)
DISPLAY_PAGES_ON_MENU = True
DEFAULT_PAGINATION = False
STATIC_PATHS = ["archives", "images" , "slides", "CNAME" , "files" ]
# Sponsor section
SPONSORGOLD = (
('Don Bosco Wilrijk','http://www.donboscowilrijk.be/','/images/logo_don_bosco.png'),
('Inuits','http://www.inuits.eu/','/images/logo_inuits.png'),
('VanTosh','http://www.vantosh.com/','/images/logo_vantosh.png'),
# ('Proxy','http://www.proxy.nl/','/static/images/logo_proxy.png'),
# ('Nucleus','http://www.nucleus.be/','/images/logo_nucleus.png'),
# ('Combell','http://www.combell.be/','/images/logo_combell.png'),
# ('Openminds','http://www.openminds.be/','/images/logo_openminds.jpg'),
# ('Trilands','http://www.trilands.be/','/images/logo_trilands.png'),
# ('Kangaroot','http://www.kangaroot.net/','/images/logo_kangaroot.png'),
# ('Percona','http://www.percona.com/','/images/logo_percona.jpg'),
)
SPONSORSILVER = (
# ('Skyscrapers','http://skyscrapers.eu/','/images/logo_skyscrapers.png'),
# ('O\'Reilly','http://www.oreilly.com/','/images/logo_oreilly.gif'),
# ('Red Hat','http://www.redhat.com/','/static/images/logo_redhat.jpg'),
# ('SuSE','http://www.suse.com/','/static/images/logo_suse.png'),
)
SPONSORBRONZE = (
# ('Oracle','http://www.oracle.com/','/images/logo_oracle.gif'),
# ('Symas','http://www.symas.com/','/static/images/logo_symas.png'),
('IT Partners','','/images/logo_itpartners.png'),
# ('MySQL','https://www.mysql.com/','/images/logo_mysql.png'),
# ('Icinga','https://www.icinga.com/','/images/logo_icinga.png'),
# ('Open Future','http://www.open-future.be/','/images/logo_openfuture.png'),
# ('Unix Solutions','http://www.unix-solutions.be/','/images/logo_unixsolutions.png'),
# ('LPI','http://www.lpi.org/','/images/logo_lpi.png'),
)
#BUTTONS = (
#('<div style="width:195px; text-align:center;" ><iframe src="https://www.eventbrite.com/countdown-widget?eid=5872485763" frameborder="0" height="291" width="195" marginheight="0" marginwidth="0" scrolling="no" allowtransparency="true"></iframe><div style="font-family:Helvetica, Arial; font-size:10px; padding:5px 0 5px; margin:2px; width:195px; text-align:center;" ><a style="color:#ddd; text-decoration:none;" target="_blank" href="http://www.eventbrite.com/r/ecount">Online Ticketing</a><span style="color:#ddd;"> for </span><a style="color:#ddd; text-decoration:none;" target="_blank" href="http://centosdojoantwerp2013.eventbrite.com?ref=ecount">CentOS Dojo Antwerp 2013</a> <span style="color:#ddd;">powered by</span> <a style="color:#ddd; text-decoration:none;" target="_blank" href="http://www.eventbrite.com?ref=ecount">Eventbrite</a></div></div>'),
#('<div style="border=1px solid black; text-align=center;"><a href="https://lpievent.lpice.eu/index.php">LPI Exam at LOADays<br><img src="https://lpievent.lpice.eu/pictures/lpi-tux-3-lowres.jpg" alt="LPI Exam subscription"><br>Write yourself here</a></div>'),
# )
# Social connections
#GITHUB_URL = 'https://git.loadays.eu/2018loadaysbe/cfp'
#GITHUB_POSITION = 'left'
# Plugins
# PLUGINS = [ 'pelican.plugins.sitemap',
# 'pelican.plugins.gzip_cache',
# 'pelican.plugins.multi_part'
# ]
# Sitemap
SITEMAP = {
'format': 'xml',
'priorities': {
'articles': 0.5,
'indexes': 0.6,
'pages': 0.9
},
'changefreqs': {
'articles': 'daily',
'indexes': 'daily',
'pages': 'daily'
}
}
# Metadata
META_DESCRIPTION = 'LOADays - Linux Open Administration Days - 27/04/2018 & 28/04/2019'
META_KEYWORDS = 'loadays,load days,load,conference,antwerp,linux,open source'
DEFAULT_METADATA = ( ('loadays','load days'),('load','load'),)