---
export interface Props {
post: any;
author: string;
}
const { post, author } = Astro.props;
const { frontmatter } = post;
function formatDate(date) {
return new Date(date).toUTCString().replace(/(\d\d\d\d) .*/, '$1'); // remove everything after YYYY
}
---
summaryrefslogtreecommitdiff |