From 63c435809e64cfa7ef6ac66201cf1799194b7795 Mon Sep 17 00:00:00 2001 From: deployn <54767886+deployn@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:37:03 +0000 Subject: [PATCH] fix(layout): Change default index and follow behavior --- src/layouts/BaseLayout.astro | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 99eaab4..8c37683 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -8,10 +8,10 @@ interface Props { title: string; description: string; lang?: string; - index?: boolean; - follow?: boolean; + noindex?: boolean; + nofollow?: boolean; } -const { title, description, lang = 'en', index, follow } = Astro.props as Props; +const { title, description, lang = 'en', noindex, nofollow } = Astro.props as Props; --- @@ -23,7 +23,7 @@ const { title, description, lang = 'en', index, follow } = Astro.props as Props;