summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/tamplates/includes/navigation/sitemap_secondary')
-rw-r--r--python/tamplates/includes/navigation/sitemap_secondary5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/tamplates/includes/navigation/sitemap_secondary b/python/tamplates/includes/navigation/sitemap_secondary
new file mode 100644
index 0000000..f7b5379
--- /dev/null
+++ b/python/tamplates/includes/navigation/sitemap_secondary
@@ -0,0 +1,5 @@
+{% for node in smappages %}
+ {% if page.PageId == node.PageId.PageId %}
+ <li><a href="{{node.url }}">{% if node.nav_title %}{{ node.nav_title }}{% else %}{{node.title}}{% endif %}</a></li>
+ {% endif %}
+{% endfor %}