--- import PostMetadata from "./PostMetadata.astro"; interface Props { class: string; entry: any; title: string; url: string; pubDate: Date; tags: string[]; categories: string[]; cover: string; description: string; words: number; } const { entry, title, url, pubDate, tags, categories, cover, description, words } = Astro.props; const className = Astro.props.class; // console.log(Astro.props); import ImageBox from "./misc/ImageBox.astro"; import ButtonTag from "./control/ButtonTag.astro"; import { Icon } from 'astro-icon/components'; // tags = ['Foo', 'Bar', 'Baz', 'Qux', 'Quux']; // const cover = 'https://saicaca.github.io/vivia-preview/assets/79905307_p0.jpg'; // cover = null; const hasCover = cover !== undefined && cover !== null && cover !== ''; const coverWidth = "30%"; const { remarkPluginFrontmatter } = await entry.render(); ---