diff options
| author | Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> | 2024-01-29 12:07:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-29 12:07:40 +0000 |
| commit | 18bee7d6ed44cd836097195d5ba331f1ed73eed3 (patch) | |
| tree | 9d18348a5e78cc216048af82c8e0a6b7227b0796 /src/layouts/Page.astro | |
| parent | 9b41ae7410058dbe0d0d2b8d276d96a1fe6f48e1 (diff) | |
Adds no-breadcrumbs variant of the navbar (#75)
Diffstat (limited to 'src/layouts/Page.astro')
| -rw-r--r-- | src/layouts/Page.astro | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro index bc7a095..da75514 100644 --- a/src/layouts/Page.astro +++ b/src/layouts/Page.astro @@ -2,13 +2,14 @@ import Layout from './Layout.astro'; interface Props { + noBreadcrumbs?: boolean; title: string; } -const { title } = Astro.props; +const { noBreadcrumbs, title } = Astro.props; --- -<Layout title={title}> +<Layout noBreadcrumbs={noBreadcrumbs} title={title}> <main id="main"> <slot /> </main> |
