From b364e59f19701ff531b488899e16ecde4eb9350d Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Mon, 24 Jun 2024 21:38:48 -0400 Subject: [PATCH] tidying this up --- config/_default/menus.en.toml | 11 ++++++++++- layouts/partials/extend-head.html | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml index 5804424..735e8c6 100644 --- a/config/_default/menus.en.toml +++ b/config/_default/menus.en.toml @@ -74,5 +74,14 @@ [[footer]] name = "Analytics" pre = "eye" - url = "https://analytics.ndumas.com/blog.ndumas.com" weight = 20 + +[[footer]] + name = "Live" + url = "https://analytics.ndumas.com/blog.ndumas.com" + weight = 50 + +[[footer]] + name = "Dev" + url = "https://analytics.ndumas.com/dev.ndumas.com" + weight = 50 diff --git a/layouts/partials/extend-head.html b/layouts/partials/extend-head.html index cfa44c9..86173ba 100644 --- a/layouts/partials/extend-head.html +++ b/layouts/partials/extend-head.html @@ -1,2 +1,2 @@ -{{ $baseURL := urls.AbsURL "" }} - +{{ $trimmedURL := trim (index (split .Site.BaseURL "://") 1) "/" }} +