Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch vulnerabilities around target="_blank" #48

Merged
merged 1 commit into from
Oct 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions layouts/partials/portfolio/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down