diff --git a/pelican_theme_teckids/pelicanconf.py b/pelican_theme_teckids/pelicanconf.py index b164acedfb154f5a2ac4441725746501d7e71449..4fe1cbf88102c8fa2a75c4863b3ab304206db775 100644 --- a/pelican_theme_teckids/pelicanconf.py +++ b/pelican_theme_teckids/pelicanconf.py @@ -1,8 +1,59 @@ from datetime import date import os +AUTHOR = "Teckids e.V." +SITEURL = "" +SITELOGO = "{}/images/logo.png".format(SITEURL) +FAVICON = "{}/images/favicon.png".format(SITEURL) + +# Uncomment following line if you want document-relative URLs when developing +RELATIVE_URLS = True + +ARTICLE_PATHS = ["posts"] +PAGE_PATHS = ["pages"] +STATIC_PATHS = ["static", "images"] +PATH = "content" +PATH_METADATA = "pages/(?P<lang>[^/]*)" +OUTPUT_PATH = "public" +SLUGIFY_SOURCE = "basename" + +TIMEZONE = "Europe/Berlin" +DEFAULT_LANG = "de" + +# 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 + THEME = os.path.dirname(__file__) +PRIMARY_DARK = "#FF6600" +PRIMARY_LIGHT = "#FFFFFF" +SECONDARY_DARK = "#015ebe" +SECONDARY_LIGHT = "#00c5fa" + +PLUGIN_PATHS = ["plugins"] +PLUGINS = ["i18n_subsites", "sitemap", "summary", "jinja2content"] +MARKDOWN = { + "extension_configs": { + "markdown.extensions.attr_list": {}, + "markdown.extensions.md_in_html": {} + } +} + +MENUITEMS = [ + ("Startseite", "index.html"), + ("Neuigkeiten", "archives.html"), +] +FOOTERMENU = [ + ("Impressum", "/pages/impressum.html") +] +FOOTERTEXT = "Teckidse.V.<br/>Hundeshagenstr. 26<br/>53225 Bonn" + +DEFAULT_PAGINATION = 10 + TODAY = date.today() # Hint: These can be overridden in any site using the template; either by overwriting @@ -17,3 +68,17 @@ PARTNERS = [ ("Open Source Initiative", "/theme/images/partners/osi.png", "https://opensource.org"), ("Free Software Foundation Europe", "/theme/images/partners/fsfe.png", "https://fsfe.orf"), ] + +CUSTOM_STYLESHEET = "{}/static/css/custom.css".format(SITEURL) + +LICENCE_DEFAULT = "CC-BY-SA 4.0+" + +LICENCETEXTS = { + "de": "Dieser Inhalt ist, sofern nicht bei einzelnen Medien anders angegeben, lizenziert unter:", + "en": "If not stated differently for single media, this content is licenced under:", +} + + +SITEMAP = { + "format": "txt", +} diff --git a/pelican_theme_teckids/templates/base.html b/pelican_theme_teckids/templates/base.html index 0fd2f08cf892bfc75427b2f89ec822f73db43db2..70f4c3f69627fc255914903c09af263e10839d4c 100644 --- a/pelican_theme_teckids/templates/base.html +++ b/pelican_theme_teckids/templates/base.html @@ -146,9 +146,7 @@ {% block languagefooter %}{% endblock %} <div class="col s6"> <p style="text-align: right"> - {% for text, link in MINIFOOTER_MENU %} - <a href="{{ link }}">{{ text }}</a><br /> - {% endfor %} + {{ FOOTERTEXT }} </p> </div> </div>