From 0afc4d86a9681f336e643dd76db7a90effb5033a Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Wed, 3 Jun 2020 20:25:30 +0200
Subject: [PATCH] Fix config file

---
 .gitmodules    |  3 +++
 pelicanconf.py | 22 ++++++++++++++++++++--
 plugins        |  1 +
 themes/teckids |  2 +-
 4 files changed, 25 insertions(+), 3 deletions(-)
 create mode 160000 plugins

diff --git a/.gitmodules b/.gitmodules
index 4050c7aa..0a548fba 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
 [submodule "themes/teckids"]
 	path = themes/teckids
 	url = https://edugit.org/Teckids/team-sysadmin/teckids-pelican
+[submodule "plugins"]
+	path = plugins
+	url = https://github.com/getpelican/pelican-plugins
diff --git a/pelicanconf.py b/pelicanconf.py
index d0201587..8fd29e98 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -7,9 +7,12 @@ SITENAME = 'Teckids e.V.'
 SITEURL = ''
 SITELOGO = '{}/images/logo.png'.format(SITEURL)
 
-STATIC_PATHS = ["static", "images"]
+ARTICLE_PATHS = ['posts']
+PAGE_PATHS = ['pages']
+STATIC_PATHS = ["static", "images", "pdfs"]
 PATH = 'content'
 OUTPUT_PATH = 'public'
+SLUGIFY_SOURCE = 'basename'
 
 TIMEZONE = 'Europe/Paris'
 
@@ -24,6 +27,15 @@ TRANSLATION_FEED_ATOM = None
 AUTHOR_FEED_ATOM = None
 AUTHOR_FEED_RSS = None
 
+PLUGIN_PATHS = ["plugins"]
+PLUGINS = ['i18n_subsites', 'filetime_from_git', 'sitemap', 'summary']
+MARKDOWN = {
+    'extension_configs': {
+        'markdown.extensions.attr_list': {},
+        'markdown.extensions.md_in_html': {}
+    }
+}
+
 # Navbar
 MENUITEMS = [
     ('Startseite', '/index.html'),
@@ -55,6 +67,12 @@ FOOTERMENU = (("Spenden", "/pages/spenden.html"),
               ("Impressum", "/pages/impressum.html")
              )
 
+MINIFOOTER_MENU = (('Teckids e.V.', ''),
+                   ('Rochusstraße 2', ''),
+                   ('53123 Bonn', ''),
+                   ('verein@teckids.org', 'mailto:verein@teckids.org'),
+                   ('+49 228 92934160', 'tel:+49 228 92934160'))
+
 I18N_SUBSITES = {
     "en": {
         "MENUITEMS": [
@@ -96,7 +114,7 @@ SOCIAL = (("You can add links in your config file", "#"),
 DEFAULT_PAGINATION = 10
 
 # Uncomment following line if you want document-relative URLs when developing
-#RELATIVE_URLS = True
+RELATIVE_URLS = True
 
 PRIMARY_DARK = "#FF6600"
 PRIMARY_LIGHT = "#FF9955"
diff --git a/plugins b/plugins
new file mode 160000
index 00000000..ac0246dc
--- /dev/null
+++ b/plugins
@@ -0,0 +1 @@
+Subproject commit ac0246dc9ea19dbb288926d7dd286ef17efe3e4f
diff --git a/themes/teckids b/themes/teckids
index d7a369e0..101729ee 160000
--- a/themes/teckids
+++ b/themes/teckids
@@ -1 +1 @@
-Subproject commit d7a369e0dc9be07a28bdb7d2020d9dff29467edf
+Subproject commit 101729ee7f48af67a82deca55a1611b518164c19
-- 
GitLab