diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index a37f563..fc58aa0 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -6,10 +6,11 @@ import '../styles/global.css' interface Props { frontmatter: CollectionEntry<'blog'>['data'] withNav?: boolean + withoutFooter?: boolean type?: string } -const { frontmatter, withNav = true, type = 'website' } = Astro.props as Props +const { frontmatter, withNav = true, withoutFooter = false, type = 'website' } = Astro.props as Props const { title, publishedAt, description, image, keywords } = frontmatter const url = new URL(Astro.url.pathname, Astro.site) @@ -59,16 +60,19 @@ const socialMedia = await getCollection('icons')
{withNav &&