From 1d77c5a590a5e4224b0d41b973fbca65f950e9f3 Mon Sep 17 00:00:00 2001 From: krmax44 Date: Fri, 23 Feb 2024 13:35:19 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20breadcrumbs=20in=20pages?= =?UTF-8?q?=20with=20pub=5Fbase?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fragdenstaat_de/fds_cms/templates/cms/breadcrumbs.html | 10 ++++++---- .../fds_cms/templates/cms/page_breadcrumb.html | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/fragdenstaat_de/fds_cms/templates/cms/breadcrumbs.html b/fragdenstaat_de/fds_cms/templates/cms/breadcrumbs.html index c4d06ac99..f606019f6 100644 --- a/fragdenstaat_de/fds_cms/templates/cms/breadcrumbs.html +++ b/fragdenstaat_de/fds_cms/templates/cms/breadcrumbs.html @@ -15,8 +15,10 @@ {% endif %} {% for ance in ancestors %} -
  • - {{ ance.get_menu_title }} -
  • + {% if ance.get_absolute_url != '/' %} +
  • + {{ ance.get_menu_title }} +
  • + {% endif %} {% endfor %} diff --git a/fragdenstaat_de/fds_cms/templates/cms/page_breadcrumb.html b/fragdenstaat_de/fds_cms/templates/cms/page_breadcrumb.html index 9f6580f71..98d3a98dc 100644 --- a/fragdenstaat_de/fds_cms/templates/cms/page_breadcrumb.html +++ b/fragdenstaat_de/fds_cms/templates/cms/page_breadcrumb.html @@ -9,7 +9,7 @@ {% endif %}>