Django 1.7, add Makefile
[prawokultury.git] / menu / templates / menu / menu.html
index 56debe5..b2faa8a 100755 (executable)
@@ -1,7 +1,9 @@
 {% load i18n %}
 {% for item in items %}
+  {% if item.obj %}
     <li{% if item.active %} 
         class="active"{%endif %} {% if item.html_id %}
         id="{{ item.html_id}}"{% endif %}>
         <a href="{{ item.get_url }}">{{ item.get_title }}</a></li>
+  {% endif %}
 {% endfor %}