fix: wrong target field for language switcher
This commit is contained in:
parent
1943dadf6a
commit
6b86a15012
|
@ -34,7 +34,7 @@ permalink: "resume/{{ resume.locale }}/index.html"
|
||||||
|
|
||||||
{% for pageKey in pagination.pages %}
|
{% for pageKey in pagination.pages %}
|
||||||
{% if pageKey.locale != resume.locale %}
|
{% if pageKey.locale != resume.locale %}
|
||||||
<a style="right: 0px; position: absolute;" href="{{ pagination.hrefs[loop.index-1] | url }}" target="_">
|
<a style="right: 0px; position: absolute;" href="{{ pagination.hrefs[loop.index-1] | url }}" target="_self">
|
||||||
<span class="{{ pageKey.flag_icon }}"></span><span style="text-transform:uppercase;">{{ pageKey.locale }}</span>
|
<span class="{{ pageKey.flag_icon }}"></span><span style="text-transform:uppercase;">{{ pageKey.locale }}</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Reference in a new issue