fix: wrong target field for language switcher

This commit is contained in:
Laureηt 2021-05-23 00:39:49 +02:00
parent 1943dadf6a
commit 6b86a15012

View file

@ -34,7 +34,7 @@ permalink: "resume/{{ resume.locale }}/index.html"
{% for pageKey in pagination.pages %}
{% 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>
</a>
{% endif %}