summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/JB/pages_list14
1 files changed, 8 insertions, 6 deletions
diff --git a/_includes/JB/pages_list b/_includes/JB/pages_list
index 1afc3f3..42f827a 100644
--- a/_includes/JB/pages_list
+++ b/_includes/JB/pages_list
@@ -24,12 +24,14 @@ Usage:
{% include custom/pages_list %}
{% else %}
{% for node in pages_list %}
- {% if group == null or group == node.group %}
- {% if page.url == node.url %}
- <li class="active"><a href="{{ BASE_PATH }}{{node.url}}" class="active">{{node.title}}</a></li>
- {% else %}
- <li><a href="{{ BASE_PATH }}{{node.url}}">{{node.title}}</a></li>
- {% endif %}
+ {% if node.title != null %}
+ {% if group == null or group == node.group %}
+ {% if page.url == node.url %}
+ <li class="active"><a href="{{ BASE_PATH }}{{node.url}}" class="active">{{node.title}}</a></li>
+ {% else %}
+ <li><a href="{{ BASE_PATH }}{{node.url}}">{{node.title}}</a></li>
+ {% endif %}
+ {% endif %}
{% endif %}
{% endfor %}
{% endif %}