-
Notifications
You must be signed in to change notification settings - Fork 9
/
pelicanconf.py
90 lines (68 loc) · 2.16 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import os
import sys
sys.path.append(os.curdir)
from volunteers_conf import VOLUNTEERS
from speaker_conf import SPEAKERS
from schedule_conf import DAY1, DAY2, DAY3
from sponsor_conf import COMMUNITY_SPONSORS, PLATINUM_SPONSORS, BRONZE_SPONSORS
AUTHOR = 'Humphrey'
SITENAME = 'PyCon-Zimbabwe'
SITEURL = "https://pyconzim.co.zw"
INDEX_SAVE_AS = "news.html"
THEME = "event-agency-theme"
# THEME = "notmyidea"
PATH = "content"
TIMEZONE = 'Africa/Harare'
DEFAULT_LANG = 'en'
# 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 = (
("Pelican", "https://getpelican.com/"),
("Python.org", "https://www.python.org/"),
("Jinja2", "https://palletsprojects.com/p/jinja/"),
("You can modify those links in your config file", "#"),
)
# Social widget
SOCIAL = (
("Facebook", "https://www.facebook.com/pyconzim/", "fab fa-facebook-f"),
("Twitter", "https://x.com/pycon_zim", "fab fa-twitter"),
("LinkedIn", "https://www.linkedin.com/company/pycon-zimbabwe", "fab fa-linkedin-in"),
("Mastodon", "https://fosstodon.org/@pyconzim", "fab fa-mastodon"),
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
#
#
STATIC_PATHS = ['images', 'extra/CNAME']
EXTRA_PATH_METADATA = {'extra/CNAME': {'path': 'CNAME'},}
# STatic files
CSS_FILE = "styles.css"
# CSS_FILE = "lux.css"
# Menu
MENU_ITEMS = [
("about.html", "About"),
("venue.html", "Venue"),
("https://www.ticketbox.co.zw/events/pycon-zimbabwe-2024", "Tickets"),
("schedule.html", "Schedule "),
("sponsors.html", "Sponsors"),
("policies.html", "Policies"),
("team.html", "Team"),
("diversity.html", "Oppurtunity Grant"),
# ("news.html", "News"),
]
# TEMPLATE_PAGES = {
# "pages/conduct.html": "conduct.html",
# }
# Conference Details
#
CONFERENCE_NAME = "PyCon Zimbabwe"
CONFERENCE_DATES = "31 October-2 November"
CONFERENCE_YEAR = "2024"
CONFERENCE_VENUE = "Cresta Oasis Hotel"
CONFERENCE_LOGO = ""