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

10 lines
261 B
Plaintext

---
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>}