--- import getReadingTime from 'reading-time'; import type { Post } from '@lib/directusTypes'; import Logo from '@components/images/Logo.astro'; import { formatShortDate, formatDate } from '@support/time'; import { getDirectusImageURL } from '@/support/url'; interface Props { post: Post; enableCategoryLink?: boolean; dateFormat?: 'short' | 'long'; } const { post, enableCategoryLink = true, dateFormat = 'short' } = Astro.props; const readingTime = getReadingTime(post.content || ''); ---