From d6257c88a8f410a91c88b693f485c649c3789ebe Mon Sep 17 00:00:00 2001 From: eclipse Date: Mon, 24 Feb 2025 22:48:23 +0100 Subject: [PATCH] small changes --- pelicanconf.py | 3 ++- theme/templates/includes/footer.html | 2 +- theme/templates/termine.noformat.html | 2 +- theme/templates/wide-cards.html | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index 71ebdea..6597d57 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -60,7 +60,8 @@ MENUITEMS = ( ("Neues", "neues/"), ("Termine", ( ("", "termine/"), - ("Lesereihen", "lesereihen/") + ("Andere Welten", "andere-welten/"), + ("Babelsberger Lesesalon", "babelsberger-lesesalon/") )), ("Autor", "autor/"), ("Kontakt", ( diff --git a/theme/templates/includes/footer.html b/theme/templates/includes/footer.html index 0a48dc0..56dd932 100644 --- a/theme/templates/includes/footer.html +++ b/theme/templates/includes/footer.html @@ -1,4 +1,4 @@ \ No newline at end of file diff --git a/theme/templates/termine.noformat.html b/theme/templates/termine.noformat.html index 44fa86a..d644547 100644 --- a/theme/templates/termine.noformat.html +++ b/theme/templates/termine.noformat.html @@ -1,5 +1,5 @@ {% extends "page.html" %} -{# note that this template's filename is ''termine.noformat.html'' and not ''termine.html''. This is because vscodium's auto-format breaks the ''replace'' filters in the summary line, which is bad. The double file extension enables an exlude rule for all "noformat.html" files from within vscodium's settings.json file. #} +{# note that this template's filename is ''termine.noformat.html'' and not ''termine.html''. This is because vscodium's autoformat breaks the ''replace'' filters in the summary line, which is bad. By setting an exlude rule for all "noformat.html" files in vscodium's settings.json file, autoformat will now ignore this file. #} {% if page.termine is defined %} {% set date_format = "%d.%m." %} {% set time_format = "%H:%M" %} diff --git a/theme/templates/wide-cards.html b/theme/templates/wide-cards.html index 790ae79..dcd40c8 100644 --- a/theme/templates/wide-cards.html +++ b/theme/templates/wide-cards.html @@ -12,7 +12,7 @@ wide_card) | list | first is defined %} {% for wcard in wcards[:4] %}