We make decisions by direct democracy. Our statute can be found at statute page
+
+ We make decisions by direct democracy. Our statute can be found at
+ statute page
+
Contact:
- You can send mail to dmz@dmz.rs or you can register on our Forum.
- Also, we are available on the Fediverse!
+ You can send mail to dmz@dmz.rs or you can
+ register on our Forum. Also, we are
+ available on the
+ Fediverse!
If you find a bug on the site, please do tell us. We would be very grateful.
diff --git a/pages/en/blog.html b/pages/en/blog.html
index 75b936d..11172f2 100644
--- a/pages/en/blog.html
+++ b/pages/en/blog.html
@@ -1,2 +1,2 @@
Ova stranica je trenutno u izradi...
-
\ No newline at end of file
+
diff --git a/pages/en/deconference.html b/pages/en/deconference.html
index cdad67f..471dc3f 100644
--- a/pages/en/deconference.html
+++ b/pages/en/deconference.html
@@ -1,34 +1,95 @@
Deconference is the inaugural conference organized by Decentrala, a Belgrade hackerspace. It serves as a platform for individuals to present and discuss ideas related to decentralization in all its forms.
+
+ Deconference is the inaugural conference organized by
+ Decentrala, a Belgrade hackerspace. It serves as
+ a platform for individuals to present and discuss ideas related to
+ decentralization in all its forms.
+
Decentrala was founded by a small group of enthusiasts united by the idea of technological decentralization. Over the past year and a half, we've organized over 160 events—lectures, workshops, discussions, hackathons—aimed at democratizing technological knowledge and educating people about privacy, open source principles, the right to repair (and how to repair), digital assets, and usage rights. Since day one, our approach has been to inform individuals about alternatives rather than impose opinions upon them.
+
+ Decentrala was founded by a small group of enthusiasts united by the idea of
+ technological decentralization. Over the past year and a half, we've organized
+ over 160 events—lectures, workshops, discussions, hackathons—aimed at
+ democratizing technological knowledge and educating people about privacy, open
+ source principles, the right to repair (and how to repair), digital assets,
+ and usage rights. Since day one, our approach has been to inform individuals
+ about alternatives rather than impose opinions upon them.
+
-
Through engaging with diverse visitors, many from non-technical backgrounds, we've come to realize that decentralization encompasses more than just "open technology." Many activists and organizations today advocate for various forms of decentralization. Therefore, we welcome stories about decentralization from diverse perspectives.
+
+ Through engaging with diverse visitors, many from non-technical backgrounds,
+ we've come to realize that decentralization encompasses more than just "open
+ technology." Many activists and organizations today advocate for various forms
+ of decentralization. Therefore, we welcome stories about decentralization from
+ diverse perspectives.
+
Deconference is an open platform for anyone interested in discussing, demonstrating, or exploring decentralization. You can register your event by emailing dekonferencija@dmz.rs up until the day of the Deconference (September 15).
+
+ Deconference is an open platform for anyone interested in discussing,
+ demonstrating, or exploring decentralization. You can register your event by
+ emailing dekonferencija@dmz.rs up
+ until the day of the Deconference (September 15).
+
We will update this section as topics are confirmed.
The Deconference is funded by the organizers' private assets. Like all of Decentrala's activities, Deconference is free for all attendees. Unfortunately, we are unable to provide grants to lecturers or presenters.
+
+ The Deconference is funded by the organizers' private assets. Like all of
+ Decentrala's activities, Deconference is free for all attendees.
+ Unfortunately, we are unable to provide grants to lecturers or presenters.
+
Decentrala accepts donations exclusively from individuals.
- We are Decentrala - a group of enthusiasts gathered around the idea of decentralization and knowledge sharing.
- Here are some more facts about us:
+ We are Decentrala - a group of enthusiasts gathered around the idea
+ of decentralization and knowledge sharing. Here are some more facts about us:
- All our workshops are free and open to everyone.
- Also, if you have something to share, feel free to announce the event on the Forum.
+ All our workshops are free and open to everyone. Also, if you have something
+ to share, feel free to announce the event on the
+ Forum.
Actions:
-
From time to time we organize actions, hackathons, crypto parties, exhibitions, etc.
+
+ From time to time we organize actions, hackathons, crypto parties,
+ exhibitions, etc.
+
Services:
-
Our servers run various services (like e-mail, git, wiki, etc...) that are open to everyone.
+
+ Our servers run various services (like e-mail, git, wiki, etc...) that are
+ open to everyone.
+
- If you are still interested, you can create an account
- on our server which will enable the use of all our services.
- If you want to see first how it all looks, you can come to one of our
- event, and meet us there!
+ If you are still interested, you can create an
+ account on our server which will enable the use of
+ all our services. If you want to see first how it
+ all looks, you can come to one of our event, and meet
+ us there!
- Jitsi.org meeting app, conferences, group video calls, online events, alternative
- to zoom.
+ Jitsi.org meeting app, conferences, group
+ video calls, online events, alternative to zoom.
", uid)
- event_template = event_template.replace("", created)
- event_template = event_template.replace("", date)
- event_template = event_template.replace("", title)
- event_template = event_template.replace("", url)
- if location.startswith("DC Krov"):
- event_template = event_template.replace("", "DC Krov\\, Kraljice Marije 47\\, 6\\, Beograd\\, Serbia")
- elif location.startswith("Matematički fakultet (Učionica 153)"):
- event_template = event_template.replace("", "Matematički fakultet\\, Svetog Nikole 39\\, Beograd\\, Serbia")
- else:
- event_template = event_template.replace("", location)
+ event_template_str = env.get_template("event.ical").render(
+ UID=uid,
+ CREATED=created,
+ DATE=date_str,
+ TITLE=title,
+ URL=url,
+ LOCATION="DC Krov\\, Kraljice Marije 47\\, 6\\, Beograd\\, Serbia" if location.startswith("DC Krov") else ("Matematički fakultet\\, Svetog Nikole 39\\, Beograd\\, Serbia" if location.startswith("Matematički fakultet (Učionica 153)") else location)
+ )
+ events_ical += event_template_str
-
- events_ical += event_template
- # Footer
with open("template/end.ical", "r") as file:
events_ical += file.read()
return events_ical
-events = sorted(load_events("dogadjaji.csv"), key=lambda e: e["date"])
+def render_page(template_name, output_path, context):
+ template = env.get_template(template_name)
+ with open(output_path, "w") as file:
+ file.write(template.render(context))
+# Main execution
+events = sorted(load_events("dogadjaji.csv"), key=lambda e: e["date"])
today = datetime.today().date()
-past_events = list(filter(lambda e: e["date"] <= today, events))
-past_events.reverse()
-new_events = list(filter(lambda e: e["date"] >= today, events))
+past_events = sorted([e for e in events if e["date"] <= today], key=lambda e: e["date"], reverse=True)
+new_events = [e for e in events if e["date"] >= today]
+sr_types = {k: v[0] for k, v in TYPES_DICT.items()}
+en_types = {k: v[1] for k, v in TYPES_DICT.items()}
-page_template = ""
+# Build Serbian Pages
+render_page("events-sr.html", "pages/sr/events.html", {
+ "lang": "sr",
+ "title": "Događaji",
+ "sr_link": "/events_archive",
+ "events_html": env.from_string("""
+ {% for event in events %}
+
Dekonferencija je prva konferencija organizovana od strane Decentrale, Beogradskog hakerspejsa. Dekonferencija služi kao platforma za predstavljanje i diskusiju ideja decentralizacije u svim svojim oblicima.
+
+ Dekonferencija je prva konferencija organizovana od strane
+ Decentrale, Beogradskog hakerspejsa.
+ Dekonferencija služi kao platforma za predstavljanje i diskusiju ideja
+ decentralizacije u svim svojim oblicima.
+
Decentrala je osnovana od strane male grupe entuzijasta udružene oko ideje decentralizacije tehnologije. Poslednjih godinu i po, organizovali smo više od 160 događaja—predavanja, radionica, diskusija, hakatona—sa ciljem demokratizacije tehnološkog znanja i edukacije o privatnosti, open source principa, prava na popravku (i kako popraviti), digitalna svojina, i pravo korišćenja. Od prvog dana, naš pristup je bio da informišemo pojedince o alternativama umesto da im namećemo naše mišljenje.
+
+ Decentrala je osnovana od strane male grupe entuzijasta udružene oko ideje
+ decentralizacije tehnologije. Poslednjih godinu i po, organizovali smo više od
+ 160 događaja—predavanja, radionica, diskusija, hakatona—sa ciljem
+ demokratizacije tehnološkog znanja i edukacije o privatnosti, open source
+ principa, prava na popravku (i kako popraviti), digitalna svojina, i pravo
+ korišćenja. Od prvog dana, naš pristup je bio da informišemo pojedince o
+ alternativama umesto da im namećemo naše mišljenje.
+
-
Vremenom, angažovanjem sa raznovrsnim posetiocima, od kojih su mnogi iz ne-tehničkih sfera, shvatili smo da decentralizacija obuhvata više od samo "otvorene tehnologije." Mnogi aktivisti i organizacije se danas zalažu za različite oblike decentralizacije. Zato, smatramo da su dobrodošle priče decentralizacije iz različitih perspektiva.
+
+ Vremenom, angažovanjem sa raznovrsnim posetiocima, od kojih su mnogi iz
+ ne-tehničkih sfera, shvatili smo da decentralizacija obuhvata više od samo
+ "otvorene tehnologije." Mnogi aktivisti i organizacije se danas zalažu za
+ različite oblike decentralizacije. Zato, smatramo da su dobrodošle priče
+ decentralizacije iz različitih perspektiva.
+
Dekonferencija je otvorena platforma za sve zainteresovane za diskusiju, demonstraciju, ili istraživanje decentralizacije. Možete registrovati vaš događaj slanjem email-a na dekonferencija@dmz.rs do dana Dekonferencije (15.-ti Septembar).
+
+ Dekonferencija je otvorena platforma za sve zainteresovane za diskusiju,
+ demonstraciju, ili istraživanje decentralizacije. Možete registrovati vaš
+ događaj slanjem email-a na
+ dekonferencija@dmz.rs do dana
+ Dekonferencije (15.-ti Septembar).
+
Osvežićemo ovaj deo kako se teme događaja potvrde.
Dekonferencija je finansirana od strane ličnih sredstava organizatora. Kao i sve aktivnosti Decentrale, Dekonferencija je besplatna svima. Nažalost, nismo u stanju da pružimo subvencije predavačima.
-
+
+ Dekonferencija je finansirana od strane ličnih sredstava organizatora. Kao i
+ sve aktivnosti Decentrale, Dekonferencija je besplatna svima. Nažalost, nismo
+ u stanju da pružimo subvencije predavačima.
+
Decentrala prihvata donacije isključivo od fizičkih lica.