From e0ea4353d30d1d8d73b98547af396674557109ee Mon Sep 17 00:00:00 2001 From: fefa4ka Date: Wed, 4 Nov 2015 02:55:33 +0300 Subject: [PATCH] structured breadcumbs --- zsite/templates/about.html | 2 +- zsite/templates/menu/breadcrumb.html | 7 ++++--- zsite/templates/sub_section.html | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/zsite/templates/about.html b/zsite/templates/about.html index c7e588f..00682ca 100644 --- a/zsite/templates/about.html +++ b/zsite/templates/about.html @@ -5,7 +5,7 @@ {% block content %} {% block breadcrumb %} - {% endblock breadcrumb %} diff --git a/zsite/templates/menu/breadcrumb.html b/zsite/templates/menu/breadcrumb.html index 291be55..d011eba 100644 --- a/zsite/templates/menu/breadcrumb.html +++ b/zsite/templates/menu/breadcrumb.html @@ -1,9 +1,10 @@ {% for ance in ancestors %} -
  • +
  • {% if not forloop.last or link_all %} - {{ ance.get_menu_title }} + {{ ance.get_menu_title }} {% else %} - {{ ance.get_menu_title }} + {{ ance.get_menu_title }} {% endif %} +
  • {% endfor %} \ No newline at end of file diff --git a/zsite/templates/sub_section.html b/zsite/templates/sub_section.html index 0666209..50e038f 100644 --- a/zsite/templates/sub_section.html +++ b/zsite/templates/sub_section.html @@ -5,9 +5,9 @@ {% block content %} {% block breadcrumb %} - + {% endblock breadcrumb %}