Add rel=noopener attribute to external links (#44)

This commit is contained in:
Kirill Goncharov 2020-12-28 17:11:55 +03:00 committed by GitHub
parent 719a11a658
commit 1cb2f552a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{% for bookmark in bookmarks %} {% for bookmark in bookmarks %}
<li> <li>
<div class="title truncate"> <div class="title truncate">
<a href="{{ bookmark.url }}" target="_blank">{{ bookmark.resolved_title }}</a> <a href="{{ bookmark.url }}" target="_blank" rel="noopener">{{ bookmark.resolved_title }}</a>
</div> </div>
<div class="description truncate"> <div class="description truncate">
{% if bookmark.tag_names %} {% if bookmark.tag_names %}