--- import type { GuideFileType } from '../lib/guide'; import { replaceVariables } from '../lib/markdown'; export interface Props { guide: GuideFileType; } const { guide } = Astro.props; const { frontmatter, author } = guide; return undefined; ---
{
author?.frontmatter && (
<>
{author.frontmatter.name}
·
>
)
}
{frontmatter.type} Guide
·
Improve this Guide
{replaceVariables(frontmatter.description)}