From 77f44ad15cbdc691b9a8249e795b9cb17dfea525 Mon Sep 17 00:00:00 2001 From: Martin Wurm Date: Wed, 14 Feb 2024 08:24:47 +0100 Subject: [PATCH] make legal links open in the same tab --- default.nix | 2 +- hugo.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/default.nix b/default.nix index a55b760..de75833 100644 --- a/default.nix +++ b/default.nix @@ -27,7 +27,7 @@ with pkgs; let in stdenv.mkDerivation rec { name = "brokentech.cloud-${version}"; - version = "1.0"; + version = "1.1"; src = ./.; diff --git a/hugo.toml b/hugo.toml index bdb3a24..2cfb44e 100644 --- a/hugo.toml +++ b/hugo.toml @@ -19,8 +19,8 @@ links = [ { monitoring = { href = "https://status.brokentech.cloud", text = "See what’s most broken" } }, { link = { href = "https://mart-w.de/", text = "Read up on the admin" } }, { mastodon = { href = "https://chaos.social/@mart_w", text = "Yell at the admin" } }, - { legal = { href = "/legal_notice", text = "Legal Notice" } }, - { legal = { href = "/privacy", text = "Privacy Policy" } }, + { legal = { href = "/legal_notice", text = "Legal Notice", target = "_self" } }, + { legal = { href = "/privacy", text = "Privacy Policy", target = "_self" } }, ] [module]