You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
644 B
20 lines
644 B
3 years ago
|
<li id="menu-item-{{ node.pk }}"
|
||
|
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-{{ node.pk }}">
|
||
|
<a href="{{ node.get_absolute_url }}">{{ node.name }}</a>
|
||
|
{% load blog_tags %}
|
||
|
{% query nav_category_list parent_category=node as child_categorys %}
|
||
|
{% if child_categorys %}
|
||
|
|
||
|
<ul class="sub-menu">
|
||
|
{% for child in child_categorys %}
|
||
|
{% with node=child template_name="share_layout/nav_node.html" %}
|
||
|
{% include template_name %}
|
||
|
{% endwith %}
|
||
|
{% endfor %}
|
||
|
|
||
|
</ul>
|
||
|
{% endif %}
|
||
|
</li>
|
||
|
|
||
|
|