--- import Layout from "./Layout.astro"; import { Icon } from "astro-icon"; interface Props { title: string; slug: string; published?: Date; srcPath?: string; moreLinks?: { icon: string; href: string; }[]; } const { title, srcPath, published, moreLinks, slug } = Astro.props; const gitUrl = `https://git.c0ntroller.de/c0ntroller/frontpage/src/branch/dev/src/content/${srcPath}` --- {Astro.slots.has("main-nav") ? : null} { moreLinks && moreLinks.length !== 0 ?
{ moreLinks.map(l => ) }
: null}

{title}

{ published || srcPath ? <>
: null } {Astro.slots.has("footer-nav") ? : null}