From 1730207b88eff59f9866339d66c34a905164ec45 Mon Sep 17 00:00:00 2001 From: Jewgeni Lewash Date: Fri, 15 Mar 2024 07:07:45 +0100 Subject: [PATCH] feat(layout): add noindex, nofollow options --- src/layouts/BaseLayout.astro | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 22a3309..99eaab4 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -7,17 +7,24 @@ import Footer from '@/components/layout/Footer.astro'; interface Props { title: string; description: string; + lang?: string; + index?: boolean; + follow?: boolean; } -const { title, description } = Astro.props as Props; +const { title, description, lang = 'en', index, follow } = Astro.props as Props; --- - + {title} +