From 06c8566f9c808f6aec9d00bfea4a58ebb039867e Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Wed, 18 Jan 2023 21:34:51 +0100 Subject: [PATCH] Don't show "Edit this page" link on search page --- input/Search.cshtml | 1 + input/Shared/_RightSidebar.cshtml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/input/Search.cshtml b/input/Search.cshtml index 42bb5e5..437dcb5 100644 --- a/input/Search.cshtml +++ b/input/Search.cshtml @@ -1,6 +1,7 @@ HideFromSearchIndex: true Excluded: => !Context.GetBool(WebKeys.GenerateSearchIndex) ShowInNavigation: false +EditLink: ---
diff --git a/input/Shared/_RightSidebar.cshtml b/input/Shared/_RightSidebar.cshtml index 7cf599a..8418a6b 100644 --- a/input/Shared/_RightSidebar.cshtml +++ b/input/Shared/_RightSidebar.cshtml @@ -10,7 +10,7 @@ : null); if (headings?.Count > 0) { -