forked from avana/sito-hackit-20
menu <noscript>
This commit is contained in:
parent
a8980a601e
commit
558a6c3bb3
2 changed files with 31 additions and 0 deletions
|
@ -167,3 +167,15 @@ code {
|
|||
height: 0;
|
||||
z-index: 3;
|
||||
}
|
||||
#menu-noscript-row {
|
||||
margin: auto;
|
||||
max-width: 60em;
|
||||
nav {
|
||||
font-size: 110%;
|
||||
font-weight: bold;
|
||||
font-family: 'Caesar Dressing', Helvetica, cursive;
|
||||
text-align: center;
|
||||
ul { list-style: none; }
|
||||
li { display: inline; padding-right: 3em;}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,6 +68,25 @@
|
|||
</div><!-- content column -->
|
||||
</div>
|
||||
</div>
|
||||
<noscript>
|
||||
<div id="menu-noscript-row">
|
||||
<nav><ul>
|
||||
{% for title, link in MENUITEMS %}
|
||||
<li><a href="{{ link }}">{{ title }}</a></li>
|
||||
{% endfor %}
|
||||
{% if DISPLAY_PAGES_ON_MENU -%}
|
||||
{% for pg in pages %}
|
||||
<li{% if pg == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ pg.url }}">{{ pg.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if DISPLAY_CATEGORIES_ON_MENU -%}
|
||||
{% for cat, null in categories %}
|
||||
<li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul></nav>
|
||||
</div><!-- #menu-noscript-row -->
|
||||
</noscript>
|
||||
<div id="overlay"></div>
|
||||
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/ruotalogo.js"></script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue