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

github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgfrcsd <23112101+gfrcsd@users.noreply.github.com>2019-09-24 13:44:11 +0300
committerFabien <vaga@users.noreply.github.com>2019-09-25 11:46:06 +0300
commitf822e7655cdf96cf477f6e21a753459063f9c5f9 (patch)
tree4d0b0a351f83f3f133ab61e76da64a840d7e19d2
parent6c0cf7c4bb1564b02a7f07df2c77fad8d31a18cb (diff)
Add rel="noreferrer noopener" on target="_blank" link
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 684af5f..36a1b31 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -22,7 +22,7 @@
<p>{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}</p>
<div class="app-header-social">
{{ range .Site.Params.social }}
- <a target="_blank" href="{{ .url }}">{{ partial "icon.html" (dict "ctx" $ "name" .name ) }}</a>
+ <a target="_blank" href="{{ .url }}" rel="noreferrer noopener">{{ partial "icon.html" (dict "ctx" $ "name" .name ) }}</a>
{{ end }}
</div>
</header>