--- import SolidComments from "../components/PostComments"; import BaseLayout from "./BaseLayout.astro"; interface Props { frontmatter: { title: string; pubDate: Date; tags: string[]; bskyPostId?: string; ogImage?: string; }; } const { frontmatter } = Astro.props; --- {frontmatter.title} Published on: {frontmatter.pubDate.toString().slice(0, 15)} { frontmatter.bskyPostId ? ( ) : null }
Published on: {frontmatter.pubDate.toString().slice(0, 15)}