--- import type { PostEntry } from '../lib/posts'; import { formatDate, postHref } from '../lib/posts'; import { getLocalizedPath, type Lang } from '../lib/i18n'; interface Props { post: PostEntry; lang: Lang; } const { post, lang } = Astro.props; const href = postHref(post); const tagsHref = (tag: string) => getLocalizedPath(`/tags/${tag}`, lang); ---

{post.data.title}

{post.data.description}

{post.data.tags.length > 0 && (
{post.data.tags.map((tag) => ( #{tag} ))}
)}