From 0c57742e19f0cd6f79bc450839e8f9bb7b83ea36 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Thu, 30 May 2024 09:16:24 -0500 Subject: [PATCH] open 'notes' header link in a new tab since it goes to an external site --- config/_default/menu.toml | 14 +++++++++++++- layouts/partials/header.html | 10 ++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/header.html diff --git a/config/_default/menu.toml b/config/_default/menu.toml index 2db8f2a..b95637b 100644 --- a/config/_default/menu.toml +++ b/config/_default/menu.toml @@ -9,33 +9,45 @@ name = "self-hosting" url = "/categories/self-hosting/" weight = 1 + [[main.params]] + target = "_self" [[main]] identifier = "tips" name = "tips" url = "/categories/tips/" weight = 1 + [[main.params]] + target = "_self" [[main]] identifier = "code" name = "code" url = "/categories/code/" weight = 1 + [[main.params]] + target = "_self" [[main]] identifier = "backstage" name = "backstage" url = "/categories/backstage/" weight = 1 + [[main.params]] + target = "_self" [[main]] identifier = "slashes" name = "slashes" - url = "/categories/slashes/" + url = "/slashes/" weight = 10 + [[main.params]] + target = "_self" [[main]] identifier = "notes" name = "notes" url = "https://notes.runtimeterror.dev" weight = 100 + [[main.params]] + target = "_blank" diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..7bf4fcf --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,10 @@ + +