--- import type { Settings } from "@matthiesenxyz/astro-ghostcms/api"; import { AstroFont } from "astro-font"; import MainLayout from "../components/MainLayout.astro"; import ViewTransitions from "astro/components/ViewTransitions.astro"; export type Props = { content?: { title: string; description: string; }; bodyClass?: string; settings: Settings; image?: string; permalink?: string; }; const { content, permalink, image, settings, bodyClass = "" } = Astro.props as Props; const ghostAccentColor = settings.accent_color; --- {content ? content.title + "|" + settings.title : settings.title} {content?.description && } {permalink && } {content?.description && } {image && } {permalink && } {content?.description && } {image && }