summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordelucis2023-09-07 11:15:15 +0000
committerfredkbot2023-09-07 11:15:15 +0000
commita6de2d4fade7dcdd2912717c8d3fc4a23504e8cb (patch)
tree609207361e315904d0b3c7fdb466174991160c0f
parentea5772655274a3900310cb700836fdd2f6dba7cd (diff)
downloadIT.starlight-a6de2d4fade7dcdd2912717c8d3fc4a23504e8cb.tar.gz
IT.starlight-a6de2d4fade7dcdd2912717c8d3fc4a23504e8cb.tar.bz2
IT.starlight-a6de2d4fade7dcdd2912717c8d3fc4a23504e8cb.zip
[ci] format
-rw-r--r--packages/starlight/layout/Page.astro3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/starlight/layout/Page.astro b/packages/starlight/layout/Page.astro
index 5dfcbe35..0999122d 100644
--- a/packages/starlight/layout/Page.astro
+++ b/packages/starlight/layout/Page.astro
@@ -45,7 +45,8 @@ const tocConfig = !hasSidebar
: config.tableOfContents;
const hasToC = Boolean(tocConfig);
const hasHero = Boolean(entry.data.hero);
-const pagefindEnabled = entry.slug !== '404' && !entry.slug.endsWith('/404') && entry.data.pagefind !== false;
+const pagefindEnabled =
+ entry.slug !== '404' && !entry.slug.endsWith('/404') && entry.data.pagefind !== false;
---
<html