diff --git a/website/src/components/PageContent/PageContent.astro b/website/src/components/PageContent/PageContent.astro index 9c433945f..3c2eff0c3 100644 --- a/website/src/components/PageContent/PageContent.astro +++ b/website/src/components/PageContent/PageContent.astro @@ -8,9 +8,10 @@ type Props = { frontmatter: Frontmatter; headings: MarkdownHeading[]; githubEditUrl: string; + hideMoreMenu?: boolean; }; -const { frontmatter, headings, githubEditUrl } = Astro.props as Props; +const { frontmatter, headings, githubEditUrl, hideMoreMenu } = Astro.props as Props; const title = frontmatter.title; const currentPage = Astro.url.pathname; --- @@ -22,9 +23,13 @@ const currentPage = Astro.url.pathname; - + { + !hideMoreMenu && ( + + ) + }