shulkerscript-webpage/src/components/override/PageTitle.astro

10 lines
261 B
Plaintext
Raw Normal View History

2024-06-20 15:43:14 +02:00
---
import type { Props } from "@astrojs/starlight/props";
import Default from "@astrojs/starlight/components/PageTitle.astro";
const isPlayground = Astro.props.slug === 'playground';
---
{isPlayground ? <></> : <Default {...Astro.props}><slot /></Default>}