From eb2a63e136566dcc3716f2e0cf1260a4e766a45c Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sun, 13 Aug 2023 18:12:42 +0100 Subject: [PATCH] fix(blog): use tag helpers to generate href --- OliverBooth/Pages/Shared/_Layout.cshtml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/OliverBooth/Pages/Shared/_Layout.cshtml b/OliverBooth/Pages/Shared/_Layout.cshtml index 79f9cb0..b3a7827 100644 --- a/OliverBooth/Pages/Shared/_Layout.cshtml +++ b/OliverBooth/Pages/Shared/_Layout.cshtml @@ -1,7 +1,3 @@ -@{ - string rootUrl = Environment.GetEnvironmentVariable("ROOT_URL") ?? "https://oliverbooth.dev"; - string blogUrl = Environment.GetEnvironmentVariable("BLOG_URL") ?? "https://blog.oliverbooth.dev"; -} @@ -40,22 +36,22 @@ @@ -72,11 +68,11 @@
© @DateTime.UtcNow.Year • - Privacy + PrivacyMastodon • - +