masthead link fix

This commit is contained in:
Plailect 2017-05-23 14:47:35 -04:00
parent c6ed485ab0
commit fe1120ec4a

View file

@ -29,6 +29,9 @@
{% else %} {% else %}
{% assign langless_url = split_url[1] %} {% 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 }}/{{ 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 }}/es_ES/{{ langless_url }}">Español</a></li>
<!-- <li class="masthead__menu-item"><a href="{{ site.url }}/de_DE/{{ langless_url }}">Deutsch</a></li> --> <!-- <li class="masthead__menu-item"><a href="{{ site.url }}/de_DE/{{ langless_url }}">Deutsch</a></li> -->