From 6499e0eea6c20489ee304007ffc4c3e658369112 Mon Sep 17 00:00:00 2001
From: Lukas Weichelt <lukas.weichelt@teckids.org>
Date: Mon, 12 Jul 2021 17:15:50 +0200
Subject: [PATCH] Fixed pelicancon.py and added index_en.html

---
 content/pages/en/index_en.html | 102 +++++++++++++++++++++++++++++++++
 pelicanconf.py                 |  16 ++----
 2 files changed, 107 insertions(+), 11 deletions(-)
 create mode 100644 content/pages/en/index_en.html

diff --git a/content/pages/en/index_en.html b/content/pages/en/index_en.html
new file mode 100644
index 0000000..e2155e6
--- /dev/null
+++ b/content/pages/en/index_en.html
@@ -0,0 +1,102 @@
+<html>
+ <head>
+  <title>Home-Page</title>
+  <meta name="save_as" content="index_en.html" />
+ </head>
+
+ <body>
+<div class="carousel slide" data-ride="carousel" id="index-carousel">
+  <ol class="carousel-indicators">
+    <li data-target="#index-carousel" data-slide-to="0" class="active"></li>
+    <li data-target="#index-carousel" data-slide-to="1"></li>
+    <li data-target="#index-carousel" data-slide-to="2"></li>
+    <li data-target="#index-carousel" data-slide-to="3"></li>
+    <li data-target="#index-carousel" data-slide-to="4"></li>
+    <li data-target="#index-carousel" data-slide-to="5"></li>
+  </ol>
+  <div class="carousel-inner">
+    <div class="carousel-item active">
+      <img class="d-block w-100" src="/images/carousel/kinder-auf-wiese.jpg" />
+	  <div class="carousel-caption d-none d-md-block">
+	    <h5>From Children, fore Children</h5>
+	    <p>Our young Tutors betwen 9 and 16 years regularly are working on Workshops, for Children in thier age.</p>
+      </div>
+    </div>
+    <div class="carousel-item">
+      <img class="d-block w-100" src="/images/carousel/gruppenbild.jpeg" />
+          <div class="carousel-caption d-none d-md-block">
+            <h5>Children at Free-Software-Conferences </h5>
+	    <p>Our 100 participant at the FrogLabs FrOSCon in Sankt Augustin in the Year 2017 </p>
+      </div>
+    </div>
+    <div class="carousel-item">
+      <img class="d-block w-100" src="/images/carousel/kinder-lego.png" />
+          <div class="carousel-caption d-none d-md-block">
+            <h5>Kreativität und Technik</h5>
+	    <p>Not only programming offers an introduction to computer science!</p>
+      </div>
+    </div>
+    <div class="carousel-item">
+      <img class="d-block w-100" src="/images/carousel/lagerfeuer.jpg" />
+          <div class="carousel-caption d-none d-md-block">
+            <h5>Stockbread, Sports and Games</h5>
+            <p>In the evening it becomes Chill on the Youth campground</p>
+      </div>
+    </div>
+    <div class="carousel-item">
+      <img class="d-block w-100" src="/images/carousel/kinder-mindstorms.jpg" />
+          <div class="carousel-caption d-none d-md-block">
+            <h5>Entery into mechatronics</h5>
+            <p>Almost anything can be built and controlled with LEGO®, Arduino or MicroPython</p>
+      </div>
+    </div>
+    <div class="carousel-item">
+      <img class="d-block w-100" src="/images/carousel/kinder-elektronik.jpg" />
+          <div class="carousel-caption d-none d-md-block">
+            <h5>More than computer science</h5>
+            <p>In our projects we combine computer science with many other elements, such as electronics, graphics, and more.</p>
+      </div>
+    </div>
+    <a class="carousel-control-prev" href="#index-carousel" role="button" data-slide="prev">
+      <span class="carousel-control-prev-icon" aria-hidden="true"></span>
+      <span class="sr-only">Previous</span>
+    </a>
+    <a class="carousel-control-next" href="#index-carousel" role="button" data-slide="next">
+      <span class="carousel-control-next-icon" aria-hidden="true"></span>
+      <span class="sr-only">Next</span>
+    </a>
+  </div>
+</div>
+ <div class="container" id="project-columns">
+   <div class="row">
+     <div class="col">
+       <h2>What is this projects?</h2>
+       <p>In the Hack'n'Fun project, children, young people and adults experiment together to learn about technical topics.</p>
+       <p class="mt-auto">At weekend and vacation camps, as well as in permanent online and offline themed afternoons, experienced young people or adults offer topic ideas from various technical fields, or children and young people themselves request topics that interest them - at camps lasting several days with an extensive social program.</p>
+     </div>
+  <div class="col">
+    <h2>The project leaders</h2>
+    <ul class="list-unstyled">
+      <li class="media">
+        <img class="mr-3" src="..." alt="Koordinator Veranstaltungen">
+        <div class="media-body">
+          <h5 class="mt-0 mb-1">Veranstaltungsorganisation</h5>
+          <p>This area is concerned with the planning and implementation of recreational events.</p>
+          <p>Currently there is no coordinator for the expert work</p>
+        </div>
+      </li>
+      <li class="media my-4">
+        <img class="mr-3" src="..." alt="Koordinator Expertenarbeit">
+        <div class="media-body">
+          <h5 class="mt-0 mb-1">Expert work</h5>
+          <p>This area deals with the organization and moderation of expert projects, which take place in the Leopard-Barcamp take place.</p>
+          <p>Hello, my name is Philipp Stahl, I am 17 years old and I take care that there are always well organized expert projects that you can participate in.</p>
+        </div>
+      </li>
+    </ul>
+  </div>
+</div>
+</div>
+</body>
+</html>
+
diff --git a/pelicanconf.py b/pelicanconf.py
index feac375..4aff753 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -4,14 +4,14 @@ from __future__ import unicode_literals
 
 AUTHOR = 'Teckids e.V.'
 SITENAME = "Hack'n'Fun"
-SITEURL = ''
+SITEURL = 'hacknfun.org'
 SITELOGO = f'{SITEURL}/theme/artwork/banner-hacknfun.svg'
 
 STATIC_PATHS = ["static", "images"]
 PATH = 'content'
 OUTPUT_PATH = 'public'
 
-TIMEZONE = 'Europe/Paris'
+TIMEZONE = 'Europe/Berlin'
 
 DEFAULT_LANG = 'de'
 
@@ -49,19 +49,13 @@ I18N_SUBSITES = {
     "en": {
         "MENUITEMS": [
             ('Home', 'index_en.html'),
-            ('News', 'archives.html'),
-            ('Foo', [
-                ('Bar', 'bar.html'),
-                ('Beispiel', 'https://example.com'),
-                ]),
-            ('Bar', [
-                ('Foobar', 'beispiel'),
-                ('Barfoo', 'beispiel1.html'),
-            ]),
+            ('Camps', 'camps_en.html'),
+            ('Sessions', 'sessions_en.html'),
         ]
     }
 }
 
+
 # Social widget
 SOCIAL = (('You can add links in your config file', '#'),
           ('Another social link', '#'),)
-- 
GitLab