02dc082958
* Adds Facebook svg button, and adds Facebook link type to models * CSS work from takeflight, 30 June 2016 * Adds drop-down menus for navigation * Adds mobile menus for navigation * Minor tweak to mobile nav headings * Makes the logo a link back to the homepage * Updates the footer to the current version, removing sponsor logos for the moment.
22 lines
863 B
HTML
22 lines
863 B
HTML
{% load sitetree %}
|
|
<div data-menu class="mobile-menu">
|
|
<ul class="mobile-menu--list">
|
|
{% for item in sitetree_items %}
|
|
<li class="mobile-menu--item mobile-menu--item__primary">
|
|
<a href="{% if item.has_children %}#{% else %}{% sitetree_url for item %}{% endif %}"
|
|
{% if item.has_children %}
|
|
class="l-header--nav dropdown-toggle {% if item.is_current or item.in_current_branch %}active{% endif %}"
|
|
data-toggle="dropdown"
|
|
{% else %}
|
|
class="l-header--nav {% if item.is_current or item.in_current_branch %}active{% endif %}"
|
|
{% endif %}
|
|
>
|
|
{{ item.title_resolved }}
|
|
</a>
|
|
</li>
|
|
{% if item.has_children %}
|
|
{% sitetree_children of item for menu template "sitetree_opener_dropdown.html" %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|