Revision cb88bc8d cloudcms/templates/cms/base.html
b/cloudcms/templates/cms/base.html | ||
---|---|---|
111 | 111 |
{% endif %} |
112 | 112 |
<ul> |
113 | 113 |
{% block page.nav %} |
114 |
{% feincms_navigation of feincms_page as sublevel level=2,depth=1 %}
|
|
114 |
{% feincms_nav feincms_page level=2 depth=1 as sublevel %}
|
|
115 | 115 |
{% for p in sublevel %} |
116 | 116 |
<li class="{% if p|is_equal_or_parent_of:feincms_page %}active{% endif %}"> |
117 | 117 |
<a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li> |
... | ... | |
121 | 121 |
<ul> |
122 | 122 |
{% block page.subnav %} |
123 | 123 |
{% if feincms_page.override_url != "/" %} |
124 |
{% feincms_navigation of feincms_page as sublevel level=3,depth=1 %}
|
|
124 |
{% feincms_nav feincms_page level=3 depth=1 as sublevel %}
|
|
125 | 125 |
{% for p in sublevel %} |
126 | 126 |
<li class="{% if p|is_equal_or_parent_of:feincms_page or p.url == request.path %}active{% endif %}"> |
127 | 127 |
<a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li> |
Also available in: Unified diff