masthead link fix
This commit is contained in:
parent
458dfff87f
commit
d1efcaa2a5
1 changed files with 3 additions and 0 deletions
|
@ -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> -->
|
||||||
|
|
Loading…
Reference in a new issue