--- import { toMilitaryDTG } from '@/lib/content/dates' import { getSite } from '@/lib/site' import type { Article } from '@/lib/site/types' type Props = { article: Article } const { article } = Astro.props const site = await getSite() const tags = article.tags.map((id) => site.tags.get(id)).filter((tag) => tag !== undefined) const date = article.updated ?? article.published const label = article.updated ? 'Updated' : 'Published' const machine = date?.toISOString() const display = date && toMilitaryDTG(date) ---