Added noopener security to mention cards

This commit is contained in:
Simon Backx 2023-01-20 15:21:23 +01:00
parent 33ebe971f8
commit 5287aeb320

View File

@ -10,7 +10,7 @@
{{!-- TODO: show the title of your post instead of a link --}}
{{!-- TODO: link to the post analytics page of your post --}}
<p class="gh-mention-your-post">Your post <a href="#" class="gh-mention-your-post-link">{{mention.target}}</a> was mentioned in:</p>
<a href="{{mention.source}}" class="gh-mention-container">
<a href="{{mention.source}}" class="gh-mention-container" rel="noreferrer noopener" target="_blank">
<div class="gh-mention-content">
<h3 class="gh-mention-title">{{mention.sourceTitle}}</h3>
<p class="gh-mention-description">{{mention.sourceExcerpt}}</p>
@ -30,6 +30,6 @@
</div>
</a>
</div>
{{/each}}
{{/each}}
</section>
</section>