From 2a782f553a3a22aaeb4e8ce5db6b2bd334a30bd7 Mon Sep 17 00:00:00 2001 From: Alex Stephen <1325798+rambleraptor@users.noreply.github.com> Date: Sat, 28 Sep 2024 16:23:56 -0400 Subject: [PATCH] remove back/forward buttons from aeps only (#28) --- scripts/generate.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/generate.ts b/scripts/generate.ts index af29eba..e5adde3 100644 --- a/scripts/generate.ts +++ b/scripts/generate.ts @@ -89,6 +89,9 @@ function buildAEP(files: string[], folder: string): AEP { contents.addComponent({'names': ['Aside', 'Tabs', 'TabItem'], 'path': '@astrojs/starlight/components'}) contents.addComponent({'names': ['Sample'], 'path': '../../components/Sample.astro'}) + contents.frontmatter['prev'] = false; + contents.frontmatter['next'] = false; + // Write everything to a markdown file. return { title: yaml.title,