Open External Links in new window (#5674)

* Update clip_link.html

* Update item_base.html

* Add new_window to all external links
This commit is contained in:
Kenneth Lorthioir
2023-10-07 15:41:33 +11:00
committed by GitHub
parent a779aa3a99
commit e76fa11e63
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{% load i18n %}
{% if link %}
<a href="{{ link }}">{{ link }}</a>{% include 'clip.html' %}
<a href="{{ link }}" {% if new_window %}target="_blank" rel="noopener"{% endif %}>{{ link }}</a>{% include 'clip.html' %}
{% endif %}