--- import type { MarkdownLayoutProps } from "astro"; import { Font } from "astro:assets"; import Layout from "./Layout.astro"; import Navbar from "~/Navbar.astro"; import Figure from "~/Figure.astro"; import border from "$/border.png"; import frame from "$/frame.png"; type Props = MarkdownLayoutProps<{ avatar?: string; avatarText?: string; }>; const { frontmatter } = Astro.props; ---
{frontmatter.avatar && frontmatter.avatarText && (
)}