Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fncnt/vncnt-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfncnt <github@vncnt.eu>2019-04-23 20:57:12 +0300
committerfncnt <github@vncnt.eu>2019-04-23 20:57:12 +0300
commita0901fc25887267255939d60567ac51c4028e592 (patch)
tree88b05289c54c20cd08493986108bc4fdfa196a74
parent4b872d7e8ebebdf78483542059119fb3e5e242d2 (diff)
Add rel="noopener me" to contact links
-rw-r--r--layouts/partials/body.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/body.html b/layouts/partials/body.html
index 6db5347..b0bd887 100644
--- a/layouts/partials/body.html
+++ b/layouts/partials/body.html
@@ -13,10 +13,10 @@
<section id="contact" aria-label="Contact">
<div class="icons" aria-label="Links">
<h2 class="h3-like" aria-label="Link Icons">
- {{ with .Site.Params.email }}<a class="icon" href="mailto:{{ . }}">
+ {{ with .Site.Params.email }}<a class="icon" href="mailto:{{ . }}" target="_blank" rel="noopener me">
<i class="fas fa-envelope" title="email" aria-label="Send email."></i>
</a>{{ end }}
- {{ range $contact_key, $contact_link := .Site.Params.contact }}<a class="icon" href="{{ $contact_link }}" target="_blank">
+ {{ range $contact_key, $contact_link := .Site.Params.contact }}<a class="icon" href="{{ $contact_link }}" target="_blank" rel="noopener me">
<i class="fab fa-{{ $contact_key }}" title="{{ $contact_key }}" aria-label="Go to {{ $contact_key }}."></i>
</a>{{ end }}
</h2>