diff --git a/content/pages/impressum.md b/content/pages/impressum.md index a81d521..b89646a 100644 --- a/content/pages/impressum.md +++ b/content/pages/impressum.md @@ -1,7 +1,7 @@ --- title: Impressum date: 2025-02-20 -last_line: Impressum erzeugt mit e-Recht24. +footer_line: Impressum erzeugt mit e-Recht24. --- ## Ansprechpartner diff --git a/content/pages/index.md b/content/pages/index.md index 22aaf10..408979f 100644 --- a/content/pages/index.md +++ b/content/pages/index.md @@ -2,7 +2,7 @@ title: Index date: 2025-02-25 template: index -elements: +index_cards: - pic: images/kurzprosa/mockup-aw-phantastische-geschichten-2.png link: werke/ text: Phantastik, Belletristik, Lyrik & mehr diff --git a/theme/templates/index.html b/theme/templates/index.html index 5136462..63a34e7 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -6,13 +6,13 @@ {% endif %} {% from 'includes/featured_image.html' import fi %} -{% for e in p.elements %} +{% for c in p.index_cards %}
- {{ fi(e.pic, e.link, e.text, e.credit) }} + {{ fi( c.pic, c.link, c.text, c.credit) }}

- {{ e.text }}
+ {{ c.text }}
- {{ e.more }} + {{ c.more }}

diff --git a/theme/templates/page.html b/theme/templates/page.html index ec7505d..65aa472 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -22,7 +22,9 @@ {% endblock content_body %} {% block content_footer %} -{% if page.last_line is defined %} -

{{ page.last_line }}

+{% if page.footer_line is defined %} +

{{ page.footer_line }}

+{% elif page.footer_include is defined %} +{% include page.footer_include %} {% endif %} {% endblock content_footer %} \ No newline at end of file