fix: blank target in resume

This commit is contained in:
Laureηt 2021-05-23 00:34:17 +02:00
parent d04ffe7b1c
commit 1943dadf6a

View file

@ -10,6 +10,7 @@ permalink: "resume/{{ resume.locale }}/index.html"
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ resume.locale }}"> <html lang="{{ resume.locale }}">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -22,7 +23,9 @@ permalink: "resume/{{ resume.locale }}/index.html"
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
<link href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.5.0/css/flag-icon.min.css" rel="stylesheet"> <link href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.5.0/css/flag-icon.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/devicon/2.6/devicon.min.css" rel="stylesheet"> <link href="https://cdnjs.cloudflare.com/ajax/libs/devicon/2.6/devicon.min.css" rel="stylesheet">
<base target="_blank">
</head> </head>
<body> <body>
<header style="position: relative;"> <header style="position: relative;">
@ -31,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 }}"> <a style="right: 0px; position: absolute;" href="{{ pagination.hrefs[loop.index-1] | url }}" target="_">
<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 %}