--- import 'katex/dist/katex.min.css'; import { getCollection } from 'astro:content'; import { buildNavTree } from '../lib/nav.mjs'; import NavTree from '../components/NavTree.astro'; interface Props { title: string; description?: string; } const { title, description } = Astro.props; const isHome = Astro.url.pathname === '/'; const navTree = buildNavTree(await getCollection('garden')); --- {title}{isHome ? '' : ' // Wesley Ray'} {description && }
{!isHome && }