2020-01-29 18:48:13 +01:00
|
|
|
{% capture logo_path %}{{ site.logo }}{% endcapture %}
|
2019-01-15 15:07:56 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
<div class="masthead">
|
2016-04-04 03:23:24 +02:00
|
|
|
<div class="masthead__inner-wrap">
|
|
|
|
<div class="masthead__menu">
|
|
|
|
<nav id="site-nav" class="greedy-nav">
|
2019-01-24 02:05:17 +01:00
|
|
|
{% unless logo_path == empty %}
|
2021-03-03 16:00:20 +01:00
|
|
|
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt="{{ site.masthead_title | default: site.title }}"></a>
|
2019-01-24 02:05:17 +01:00
|
|
|
{% endunless %}
|
2019-07-17 17:46:37 +02:00
|
|
|
<a class="site-title" href="{{ '/' | relative_url }}">
|
|
|
|
{{ site.masthead_title | default: site.title }}
|
|
|
|
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
|
|
|
|
</a>
|
2016-04-04 03:23:24 +02:00
|
|
|
<ul class="visible-links">
|
2018-08-13 14:00:39 +02:00
|
|
|
{%- for link in site.data.navigation.main -%}
|
2017-12-04 20:44:39 +01:00
|
|
|
<li class="masthead__menu-item">
|
2020-03-06 21:37:07 +01:00
|
|
|
<a href="{{ link.url | relative_url }}"{% if link.description %} title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
|
2017-12-04 20:44:39 +01:00
|
|
|
</li>
|
2018-08-13 14:00:39 +02:00
|
|
|
{%- endfor -%}
|
2016-04-04 03:23:24 +02:00
|
|
|
</ul>
|
2017-12-07 14:56:14 +01:00
|
|
|
{% if site.search == true %}
|
|
|
|
<button class="search__toggle" type="button">
|
2019-01-02 00:33:51 +01:00
|
|
|
<span class="visually-hidden">{{ site.data.ui-text[site.locale].search_label | default: "Toggle search" }}</span>
|
2021-06-23 14:06:03 +02:00
|
|
|
<i class="fas fa-search"></i>
|
2017-12-07 14:56:14 +01:00
|
|
|
</button>
|
|
|
|
{% endif %}
|
2018-01-09 19:56:09 +01:00
|
|
|
<button class="greedy-nav__toggle hidden" type="button">
|
2019-01-02 00:33:51 +01:00
|
|
|
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle menu" }}</span>
|
2017-10-04 17:10:41 +02:00
|
|
|
<div class="navicon"></div>
|
|
|
|
</button>
|
2016-04-04 03:23:24 +02:00
|
|
|
<ul class="hidden-links hidden"></ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
2016-03-21 21:01:19 +01:00
|
|
|
</div>
|
2018-08-13 14:00:39 +02:00
|
|
|
</div>
|