masthead link fix

This commit is contained in:
Plailect 2017-05-23 14:47:32 -04:00 committed by Plailect
parent 21e49faa63
commit 61637ffcf6
No known key found for this signature in database
GPG Key ID: F8A415C5EA602A41

View File

@ -29,6 +29,10 @@
{% else %}
{% assign langless_url = split_url[1] %}
{% endif %}
{% endif %}
{% if langless_url == "index.html" %}
{% assign langless_url = "" %}
{% endif %}
<li class="masthead__menu-item"><a href="{{ site.url }}/{{ langless_url }}">English</a></li>
<li class="masthead__menu-item"><a href="{{ site.url }}/es_ES/{{ langless_url }}">Español</a></li>
<li class="masthead__menu-item"><a href="{{ site.url }}/de_DE/{{ langless_url }}">Deutsch</a></li>