summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-bootstrap/ucode
diff options
context:
space:
mode:
authorFengyu Wu <saldry@proton.me>2024-02-17 21:18:39 +0800
committerPaul Donald <itsascambutmailmeanyway@gmail.com>2024-03-02 17:57:01 +0100
commitf01347d3be9c6b744e6831d98b7a6e920020a627 (patch)
tree5fd16241724e0b11e2d4b73b18001aa81315849a /themes/luci-theme-bootstrap/ucode
parent3acc8bc3733bbbb6c20b40bcb7b8f27d50b63779 (diff)
luci-theme-bootstrap: open footer links in new tab
Also set Referrer Policy Signed-off-by: Fengyu Wu <saldry@proton.me>
Diffstat (limited to 'themes/luci-theme-bootstrap/ucode')
-rw-r--r--themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/footer.ut4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/footer.ut b/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/footer.ut
index 6031724053..a9dd0f939e 100644
--- a/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/footer.ut
+++ b/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/footer.ut
@@ -3,10 +3,10 @@
<footer>
<span>
Powered by
- <a href="https://github.com/openwrt/luci">
+ <a href="https://github.com/openwrt/luci" target="_blank" rel="noreferrer">
{{ version.luciname }} ({{ version.luciversion }})</a>
/
- <a href="{{ entityencode(version.disturl ?? '#', true) }}">
+ <a href="{{ entityencode(version.disturl ?? '#', true) }}" target="_blank" rel="noreferrer">
{{ version.distname }} {{ version.distversion }} ({{ version.distrevision }})</a>
{% if (lua_active): %}
/ {{ _('Lua compatibility mode active') }}