aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html
index 9e3965f..713307c 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -98,7 +98,7 @@
{% if config.extra.header_nav %}
<nav>
{% for nav_item in config.extra.header_nav %}
- <a href="{{ nav_item.url | safe }}">{{ nav_item.name }}</a>
+ <a href="{{ nav_item.url | safe }}" {% if nav_item.new_tab %}target="_blank" rel="noreferrer noopener"{% endif %}>{{ nav_item.name }}</a>
{% endfor %}
</nav>
{% endif %}
@@ -120,4 +120,4 @@
</div>
</body>
</html>
- \ No newline at end of file
+