summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2015-07-09 22:48:55 +0200
committerMagnus Granberg <zorry@gentoo.org>2015-07-09 22:48:55 +0200
commit65b6100f6662634f6c18156375a1540f0eafd0e6 (patch)
tree1a1dcced95105424e9b4727faca70d0f6040d11a /python/tamplates/includes/navigation/sitemap_secondary
downloadtinderbox-cluster-www-65b6100f6662634f6c18156375a1540f0eafd0e6.tar.gz
tinderbox-cluster-www-65b6100f6662634f6c18156375a1540f0eafd0e6.tar.bz2
tinderbox-cluster-www-65b6100f6662634f6c18156375a1540f0eafd0e6.zip
Init commit part mirror of www.g.o
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 %}