--- import { marked } from "marked"; import formatDate from "@/utils/format-date"; const props = Astro.props; const content = marked.parse(props.content); ---
{formatDate(new Date(props.published))}{" "} {new Date(props.published).toLocaleTimeString()}
{ props && props.expand.tags && props?.expand.tags.map( (tag: any) => tag && #{tag.name} , ) }