From d80a00e97e4bd737740bd826f3e5b8a0a95b84d7 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Tue, 26 Sep 2023 20:40:03 +0100 Subject: [PATCH] feat: add meta tags for embeds outside of blog --- OliverBooth/Pages/Shared/_Layout.cshtml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/OliverBooth/Pages/Shared/_Layout.cshtml b/OliverBooth/Pages/Shared/_Layout.cshtml index cf47604..250b7a1 100644 --- a/OliverBooth/Pages/Shared/_Layout.cshtml +++ b/OliverBooth/Pages/Shared/_Layout.cshtml @@ -12,6 +12,11 @@ + + + + + @if (ViewData["Title"] != null) { @ViewData["Title"] - Oliver Booth @@ -25,17 +30,21 @@ string excerpt = BlogPostService.RenderExcerpt(post, out bool trimmed); - - - - - + } + else + { + + + + + + }