Add rel="noopener noreferrer" to all target="_blank"

This commit is contained in:
gfrcsd 2018-10-18 23:51:08 +01:00
parent e5b0a0a8c9
commit bdad2544c0

View file

@ -6,7 +6,7 @@
<div class="portfolio_content">
<div class="item featured text-center">
<span class="project__title">
<a href="{{ .Params.Link }}" target="_blank">{{ .Title }}</a>
<a href="{{ .Params.Link }}" target="_blank" rel="noopener noreferrer">{{ .Title }}</a>
</span>
<p class="project__subtitle-big">
<sup><i class="fa fa-quote-left" aria-hidden="true"></i></sup>
@ -30,12 +30,12 @@
{{ range (where .Data.Pages "Params.featured" "!=" "true").ByDate.Reverse }}
<div class="row">
<div class="col-md-4 col-sm-4 col-xs-12" href="{{ .Params.link }}"
target="_blank">
target="_blank" rel="noopener noreferrer">
<img class="project__image img-responsive" src="{{ .Params.screenshot }}" alt="{{ .Title }}">
</div>
<div class="col-md-8 col-sm-8 col-xs-12">
<span class="project__title">
<a href="{{ .Params.link }}" target="_blank">{{ .Title }}</a>
<a href="{{ .Params.link }}" target="_blank" rel="noopener noreferrer">{{ .Title }}</a>
</span>
<span class="project__subtitle-small">
<sup><i class="fa fa-quote-left" aria-hidden="true"></i></sup>