From ad59c3190a191477e2b1155c597b3d776fdce208 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 12 Aug 2023 20:51:15 +0100 Subject: [PATCH] fix: read BLOG_URL env var --- OliverBooth.Common/Pages/Shared/_Layout.cshtml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/OliverBooth.Common/Pages/Shared/_Layout.cshtml b/OliverBooth.Common/Pages/Shared/_Layout.cshtml index b25510a..79f9cb0 100644 --- a/OliverBooth.Common/Pages/Shared/_Layout.cshtml +++ b/OliverBooth.Common/Pages/Shared/_Layout.cshtml @@ -1,5 +1,6 @@ @{ string rootUrl = Environment.GetEnvironmentVariable("ROOT_URL") ?? "https://oliverbooth.dev"; + string blogUrl = Environment.GetEnvironmentVariable("BLOG_URL") ?? "https://blog.oliverbooth.dev"; } @@ -42,7 +43,7 @@ About
  • - Blog + Blog
  • Tutorials @@ -71,11 +72,11 @@
    © @DateTime.UtcNow.Year • - Privacy + PrivacyMastodon • - +