major changes
This commit is contained in:
@@ -93,17 +93,16 @@
|
||||
<label for="menu-toggle">hide/show menu</label>
|
||||
|
||||
<ul id="menuitem-list">
|
||||
{% for p in PAGES %}
|
||||
{% if p.url is string %}
|
||||
{% if p.title != 'Search' %}
|
||||
{% for title, url in MENUITEMS %}
|
||||
{% if url is string %}
|
||||
{% if title != 'Search' %}
|
||||
<li class="dropdown">
|
||||
<a class="menulink head {% if p.url == page %}active{% endif %}" href="{{ genurl( p.url ) }}" {{ newtab(p.url) }}>{{ p.title }}</a>
|
||||
<a class="menulink head {% if url == page %}active{% endif %}" href="{{ genurl( url ) }}" {{ newtab(url) }}>{{ title }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% elif p.url is iterable %}
|
||||
{% elif url is iterable %}
|
||||
<li class="dropdown">
|
||||
<!-- FIXME Selecting a submenu link does not set the head link active, need a custom jinja test for that //-->
|
||||
<a href="#" class="dropdown-toggle menulink head {% if p.url == page %}active{% endif %}" data-toggle="dropdown">
|
||||
<a href="#" class="dropdown-toggle menulink head {% if url == page %}active{% endif %}" data-toggle="dropdown">
|
||||
{{- title }}
|
||||
</a>
|
||||
<ul class="dropdown-content" role="menu">
|
||||
|
||||
Reference in New Issue
Block a user