diff --git a/OliverBooth/Pages/Shared/_Layout.cshtml b/OliverBooth/Pages/Shared/_Layout.cshtml index 423d3b4..dba5ca4 100644 --- a/OliverBooth/Pages/Shared/_Layout.cshtml +++ b/OliverBooth/Pages/Shared/_Layout.cshtml @@ -1,3 +1,10 @@ +@using OliverBooth.Data.Blog +@using OliverBooth.Services +@inject IBlogPostService BlogPostService +@{ + HttpRequest request = Context.Request; + var url = new Uri($"{request.Scheme}://{request.Host}{request.Path}{request.QueryString}"); +}
@@ -13,6 +20,20 @@ {