DEV: enforces link-rel-noopener linting rule (#8936)

* DEV: enforces link-rel-noopener linting rule

* oops

* better syntax
This commit is contained in:
Joffrey JAFFEUX
2020-03-06 17:35:18 +01:00
committed by GitHub
parent 91682408e0
commit a24f51278a
17 changed files with 30 additions and 23 deletions

View File

@@ -2,7 +2,7 @@
<div class="popular-theme-name">
{{theme.name}}
{{#if theme.preview}}
<a href="{{theme.preview}}" title="Preview" target="_blank">{{d-icon "far-eye"}}</a>
<a href="{{theme.preview}}" title="Preview" rel="noopener" target="_blank">{{d-icon "far-eye"}}</a>
{{/if}}
</div>
<div class="popular-theme-buttons">