Merge pull request #48 from gfrcsd/master

Patch vulnerabilities around target="_blank"
This commit is contained in:
Huy Tran 2018-10-19 11:02:39 +11:00 committed by GitHub
commit 6730b45033
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>