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.
This commit is contained in:
Nick 2024-11-29 12:11:37 +00:00
parent d9c95b3557
commit fd091ae34d

View File

@ -10,4 +10,8 @@
Thank you for contacting Catherine Lynwood. Your message has been received and will be reviewed as soon as possible. Thank you for contacting Catherine Lynwood. Your message has been received and will be reviewed as soon as possible.
</p> </p>
</div> </div>
</div> </div>
@section Meta {
<meta name="robots" content="noindex">
}