Add rel="noopener" to target="_blank" links

This commit is contained in:
Fabian Weisshaar 2018-12-28 20:22:08 +01:00
parent d1692e305c
commit 8214842dc9
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@
{% blocktrans trimmed %}
Also, we have
<a href="http://nsupdateinfo.readthedocs.org/"
title="Open docs in new window" target="_blank">documentation</a> &mdash;
title="Open docs in new window" target="_blank" rel="noopener">documentation</a> &mdash;
there might be some interesting stuff for you in it that is
not visible or obvious on the user interface.
{% endblocktrans %}

View File

@ -52,7 +52,7 @@
</li>
<li>
<a href="http://nsupdateinfo.readthedocs.org/"
class="navbar-link" title="Open docs in new window" target="_blank"><i class="fa fa-eye fa-fw"></i> {% trans "Documentation" %}</a>
class="navbar-link" title="Open docs in new window" target="_blank" rel="noopener"><i class="fa fa-eye fa-fw"></i> {% trans "Documentation" %}</a>
</li>
</ul>
<ul class="nav navbar-nav pull-right">
@ -94,7 +94,7 @@
</ul>
</li>
</ul>
</div>
</div>_blac
</div>
</div>
{% block header %}{% endblock %}