2017-01-18 06:04:56 +01:00
|
|
|
<div class="masthead">
|
|
|
|
<div class="masthead__inner-wrap">
|
|
|
|
<div class="masthead__menu">
|
|
|
|
<nav id="site-nav" class="greedy-nav">
|
|
|
|
<ul class="visible-links">
|
|
|
|
{% assign split_path = page.path | split: "/" %}
|
|
|
|
{% assign locale = split_path[1] %}
|
|
|
|
{% assign titles = site.data.navigation[locale].main %}
|
|
|
|
{% if locale == 'en_US' %}
|
|
|
|
{% assign locale_var = '/' %}
|
|
|
|
{% else %}
|
|
|
|
{% assign locale_var = locale | prepend:'/' | append:'/' %}
|
|
|
|
{% endif %}
|
|
|
|
<li class="masthead__menu-item masthead__menu-item--lg"><a href="{{ domain }}{{ locale_var }}">{{ titles[0].title }}</a></li>
|
|
|
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}faq">{{ titles[1].title }}</a></li>
|
|
|
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}troubleshooting">{{ titles[2].title }}</a></li>
|
|
|
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}donations">{{ titles[3].title }}</a></li>
|
|
|
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}credits">{{ titles[4].title }}</a></li>
|
|
|
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}updating-a9lh">{{ titles[5].title }}</a></li>
|
|
|
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}region-changing">{{ titles[6].title }}</a></li>
|
2017-05-10 22:05:51 +02:00
|
|
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}godmode9-usage">{{ titles[7].title }}</a></li>
|
|
|
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ locale_var }}site-navigation">{{ titles[8].title }}</a></li>
|
2017-01-18 06:04:56 +01:00
|
|
|
</ul>
|
|
|
|
<ul class="hidden-links links-menu hidden"></ul>
|
|
|
|
<ul class="hidden-links lang-menu hidden">
|
|
|
|
{% assign split_url = page.url | split: "/" %}
|
|
|
|
{% if split_url.size == 3 %}
|
|
|
|
{% assign langless_url = split_url[2] %}
|
|
|
|
{% else %}
|
|
|
|
{% assign langless_url = split_url[1] %}
|
|
|
|
{% endif %}
|
|
|
|
<li class="masthead__menu-item"><a href="{{ site.url }}/{{ langless_url }}">English</a></li>
|
2017-05-10 22:05:51 +02:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/es_ES/{{ langless_url }}">Español</a></li> -->
|
2017-03-22 00:57:44 +01:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/de_DE/{{ langless_url }}">Deutsch</a></li> -->
|
2017-05-10 22:05:51 +02:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/fr_FR/{{ langless_url }}">Français</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/it_IT/{{ langless_url }}">Italiano</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/nl_NL/{{ langless_url }}">Nederlands</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/pt_BR/{{ langless_url }}">Português do Brasil</a></li> -->
|
2017-01-18 06:04:56 +01:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/pt_PT/{{ langless_url }}">Português (Portugal)</a></li> -->
|
2017-05-10 22:05:51 +02:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ru_RU/{{ langless_url }}">Русский</a></li> -->
|
2017-03-22 00:57:44 +01:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/zh_CN/{{ langless_url }}">简体中文</a></li> -->
|
2017-05-10 22:05:51 +02:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/zh_TW/{{ langless_url }}">繁體中文</a></li> -->
|
2017-03-22 00:57:44 +01:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/pl_PL/{{ langless_url }}">Polski</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/tr_TR/{{ langless_url }}">Türkçe</a></li> -->
|
2017-01-18 06:04:56 +01:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/vi_VN/{{ langless_url }}">Tiếng Việt</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ca_ES/{{ langless_url }}">Català</a></li> -->
|
2017-03-22 00:57:44 +01:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/el_GR/{{ langless_url }}">Ελληνικά</a></li> -->
|
2017-05-10 22:05:51 +02:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/he_IL/{{ langless_url }}">עברית</a></li> -->
|
2017-01-18 06:04:56 +01:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/sv_SE/{{ langless_url }}">Svenska</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ko_KR/{{ langless_url }}">한국어</a></li> -->
|
2017-03-22 00:57:44 +01:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/no_NO/{{ langless_url }}">Norsk</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ja_JP/{{ langless_url }}">日本語</a></li> -->
|
2017-01-18 06:04:56 +01:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ar_SA/{{ langless_url }}">اللغة العربية</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/hu_HU/{{ langless_url }}">Magyar</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ro_RO/{{ langless_url }}">Română</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/sr_SP/{{ langless_url }}">Српски</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/af_ZA/{{ langless_url }}">Afrikaans</a></li> -->
|
2017-03-22 00:57:44 +01:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/ms_MY/{{ langless_url }}">Bahasa Melayu</a></li> -->
|
2017-05-10 22:05:51 +02:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/fi_FI/{{ langless_url }}">Suomi</a></li> -->
|
2017-01-18 06:04:56 +01:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/da_DK/{{ langless_url }}">Dansk</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/uk_UA/{{ langless_url }}">Українська</a></li> -->
|
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/cs_CZ/{{ langless_url }}">Čeština</a></li> -->
|
2017-03-31 22:54:31 +02:00
|
|
|
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/en_PT/{{ langless_url }}">Pirate English</a></li> -->
|
2017-01-18 06:04:56 +01:00
|
|
|
</ul>
|
|
|
|
<button class="lang-selector"><div class="langicon"><i class="fa fa-language fa-lg" aria-hidden="true"></i></div></button>
|
|
|
|
<button class="nav-selector" id="toggle-nav"><div class="navicon"></div></button>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|