summaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/cccevents/templates/base.html31
1 files changed, 28 insertions, 3 deletions
diff --git a/theme/cccevents/templates/base.html b/theme/cccevents/templates/base.html
index bd3fc4f..3a91430 100644
--- a/theme/cccevents/templates/base.html
+++ b/theme/cccevents/templates/base.html
@@ -100,9 +100,34 @@
100 <!--</div>--> 100 <!--</div>-->
101 101
102 <ul class="blog-menu"> 102 <ul class="blog-menu">
103 <!--{% for p in pages %}--> 103 {% set current_page = [page, article]|select("defined")|list %}
104 <!--<li class="page_item page-item-181"><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>--> 104 {% if current_page | length > 0 and current_page[0].lang != DEFAULT_LANG %}
105 <!--{% endfor %}--> 105 {% set current_lang = '.' + current_page[0].lang %}
106 {% endif %}
107 {% if current_lang %}
108 <li class="page_item page-item-181 page_item_has_children">
109 <a href="{{ SITEURL }}/arbitration/index{{ current_lang }}.html">Arbitration Board</a>
110 <ul class="children">
111 <li class="page_item"><a href="{{ SITEURL }}/arbitration/procedure.html">Verfahrensordnung</a></li>
112 </ul>
113 </li>
114 {% else %}
115 <li class="page_item page-item-181 page_item_has_children">
116 <a href="{{ SITEURL }}/arbitration/index{{ current_lang }}.html">Schiedsstelle</a>
117 <ul class="children">
118 <li class="page_item"><a href="{{ SITEURL }}/arbitration/procedure.html">Procedure</a></li>
119 </ul>
120 </li>
121 {% endif%}
122 <li class="page_item page-item-181"><a href="{{ SITEURL }}/awareness/index{{ current_lang }}.html">Awareness</a></li>
123 <li class="page_item page-item-181"><a href="{{ SITEURL }}/cert/index{{ current_lang }}.html">Cert</a></li>
124 <li class="page_item page-item-181"><a href="{{ SITEURL }}/security/index{{ current_lang }}.html">Security</a></li>
125 <li class="page_item page-item-181"><a href="{{ SITEURL }}/auticare/index{{ current_lang }}.html">Auticare</a></li>
126 <!--
127 { % for p in pages %}
128 <li class="page_item page-item-181"><a href="{ { SITEURL }}/{ { p.url }}">{ { p.title }}</a><ul><li>test</li></ul></li>
129 { % endfor %}
130 -->
106 {% block translation %} 131 {% block translation %}
107 {% endblock %} 132 {% endblock %}
108 </ul> 133 </ul>