diff --git a/pages/resume/resume.njk b/pages/resume/resume.njk index 77c3988..73669d8 100644 --- a/pages/resume/resume.njk +++ b/pages/resume/resume.njk @@ -30,9 +30,9 @@ permalink: "resume/{{ resume.locale }}/index.html" _ {% for pageKey in pagination.pages %} - {% if page.url != pagination.hrefs[loop.index - 1] %} - {{ pageKey[0].username }} - {{ resumes[loop.index-1].locale }} + {% if pageKey.locale != resume.locale %} + + {{ pageKey.locale }} {% endif %} {% endfor %}