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 %} {% blocktrans trimmed %}
Also, we have Also, we have
<a href="http://nsupdateinfo.readthedocs.org/" <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 there might be some interesting stuff for you in it that is
not visible or obvious on the user interface. not visible or obvious on the user interface.
{% endblocktrans %} {% endblocktrans %}

View File

@ -52,7 +52,7 @@
</li> </li>
<li> <li>
<a href="http://nsupdateinfo.readthedocs.org/" <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> </li>
</ul> </ul>
<ul class="nav navbar-nav pull-right"> <ul class="nav navbar-nav pull-right">
@ -94,7 +94,7 @@
</ul> </ul>
</li> </li>
</ul> </ul>
</div> </div>_blac
</div> </div>
</div> </div>
{% block header %}{% endblock %} {% block header %}{% endblock %}