File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 128128 </label >
129129 <input type =" checkbox" id =" menu-button" aria-hidden =" true" />
130130 <ul class =" menu" >
131- {% set homeLink = " /" | url %}
131+ {% if locale == " de" %}
132+ {% set homeLink = " /de/" | url %}
133+ {% else %}
134+ {% set homeLink = " /" | url %}
135+ {% endif %}
132136 {% set newsLink = " /blog/" | url %}
133137 {% set servicesLink = " /services/" | url %}
134138 {% set partnersLink = " /partners/" | url %}
135139 {% set contactLink = " /contact/" | url %}
136- {% if locale == " en" %}
137- <li class =" {% if page.url == '/' %}current{% endif %}" >
138- <a href =" {{ homeLink }}" >{{ strings .sections .home | localize }} </a >
140+ <li class =" {% if page.url == homeLink %}current{% endif %}" >
141+ <a href =" {{ homeLink }}" >{{ strings .sections .home | localize }} </a >
139142 </li >
140- {% endif %}
141143 <li class =" {% if page.url.startsWith('/blog/') %}current{% endif %}" ><a href =" {{ newsLink }}" >{{ strings .sections .news | localize }} </a ></li >
142144 <li class =" dropdown {% if page.url.startsWith('/services/') %}current{% endif %}" >
143145 <a href =" {{ servicesLink }}" >{{ strings .sections .services | localize }} </a >
You can’t perform that action at this time.
0 commit comments