From 86e2f7e4fb6381b4cfa1473e303b303d7257adba Mon Sep 17 00:00:00 2001 From: Mark Downie Date: Fri, 14 Aug 2020 16:21:35 -0400 Subject: [PATCH 1/2] A fix for the post search, it will be forced to use the correct URL to post with (avoids 404). --- .../DasBlog.Web.UI/Config/site.Development.config | 2 +- source/DasBlog.Web.UI/Config/site.config | 2 +- .../Controllers/BlogPostController.cs | 9 +++++++-- .../TagHelpers/SearchBoxTagHelper.cs | 3 ++- .../TagHelpers/Site/SiteSearchBoxTagHelper.cs | 15 ++++++++++++--- .../DasBlog.Web.UI/Themes/median/_BlogItem.cshtml | 2 +- .../DasBlog.Web.UI/Themes/median/_Layout.cshtml | 14 ++++---------- 7 files changed, 28 insertions(+), 19 deletions(-) diff --git a/source/DasBlog.Web.UI/Config/site.Development.config b/source/DasBlog.Web.UI/Config/site.Development.config index 130bbdf6..cf0d0719 100644 --- a/source/DasBlog.Web.UI/Config/site.Development.config +++ b/source/DasBlog.Web.UI/Config/site.Development.config @@ -19,7 +19,7 @@ This is DasBlog Core! This blog is powered by DasBlog Core built on the awesome legacy of the original DasBlog! - + darkly + darkly