1. Kai Diefenbach
  2. lfc_theme

Commits

Kai Diefenbach  committed 4ef9724

navigation: added css class level-<n> also to a tags.

  • Participants
  • Parent commits 9f6ff26
  • Branches default

Comments (0)

Files changed (2)

File lfc_theme/templates/lfc/tags/navigation.html

View file
 {% if show_level %}
     <ul>
         {% for obj in objs %}
-            <li class="level-{{ obj.level}} {% if obj.is_current %}current{% endif %}">
-                <a class="{% if obj.is_current %}current{% endif %}"
+            <li class="level-{{ obj.level }} {% if obj.is_current %}current{% endif %}">
+                <a class="level-{{ obj.level }} {% if obj.is_current %}current{% endif %}"
                    href="{{ obj.url }}">
                     {{ obj.title }}
                 </a>

File lfc_theme/templates/lfc/tags/navigation_children.html

View file
         <ul>
             {% for obj in objs %}
                 <li class="level-{{ obj.level }} {% if obj.is_current %}current{% endif %}">
-                    <a class="{% if obj.is_current %}current{% endif %}"
+                    <a class="level-{{ obj.level }} {% if obj.is_current %}current{% endif %}"
                        href="{{ obj.url }}">
                         {{ obj.title }}
                     </a>