diff --git a/.gitmodules b/.gitmodules index 4050c7aade590ece493944dc6c4784b07a1ba2f3..0a548fbad7306b11ef12121379ef0c9fce3e5b01 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 d0201587aee180d7adb4e7bfd1de59570cb17eee..8fd29e98dc608292bbfca794510ed8cb66040163 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 0000000000000000000000000000000000000000..ac0246dc9ea19dbb288926d7dd286ef17efe3e4f --- /dev/null +++ b/plugins @@ -0,0 +1 @@ +Subproject commit ac0246dc9ea19dbb288926d7dd286ef17efe3e4f diff --git a/themes/teckids b/themes/teckids index d7a369e0dc9be07a28bdb7d2020d9dff29467edf..101729ee7f48af67a82deca55a1611b518164c19 160000 --- a/themes/teckids +++ b/themes/teckids @@ -1 +1 @@ -Subproject commit d7a369e0dc9be07a28bdb7d2020d9dff29467edf +Subproject commit 101729ee7f48af67a82deca55a1611b518164c19