From fd091ae34dc9b2c17d85f1a477a04a439b953635 Mon Sep 17 00:00:00 2001
From: Nick
Date: Fri, 29 Nov 2024 12:11:37 +0000
Subject: [PATCH] Add noindex meta tag to ThankYou.cshtml
Added a new section named `Meta` in the `ThankYou.cshtml` file, which includes a meta tag with `name="robots"` and `content="noindex"`. This prevents search engines from indexing the "Thank You" page.
---
CatherineLynwood/Views/Home/ThankYou.cshtml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/CatherineLynwood/Views/Home/ThankYou.cshtml b/CatherineLynwood/Views/Home/ThankYou.cshtml
index a622550..a88ddea 100644
--- a/CatherineLynwood/Views/Home/ThankYou.cshtml
+++ b/CatherineLynwood/Views/Home/ThankYou.cshtml
@@ -10,4 +10,8 @@
Thank you for contacting Catherine Lynwood. Your message has been received and will be reviewed as soon as possible.
-
\ No newline at end of file
+
+
+@section Meta {
+
+}
\ No newline at end of file