diff --git a/src/components/Guide/GuideContent.astro b/src/components/Guide/GuideContent.astro index ed51c19a8..5657a24e7 100644 --- a/src/components/Guide/GuideContent.astro +++ b/src/components/Guide/GuideContent.astro @@ -2,7 +2,6 @@ import { getGuideTableOfContent, type GuideFileType } from '../../lib/guide'; import MarkdownFile from '../MarkdownFile.astro'; import { TableOfContent } from '../TableOfContent/TableOfContent'; -import { replaceVariables } from '../../lib/markdown'; import { RelatedGuides } from './RelatedGuides'; interface Props { @@ -16,8 +15,7 @@ const tableOfContent = getGuideTableOfContent(allHeadings); const showTableOfContent = tableOfContent.length > 0; const showRelatedGuides = - guide?.frontmatter?.relatedGuides && - Object.keys(guide?.frontmatter?.relatedGuides).length > 0; + guide?.relatedGuides && Object.keys(guide?.relatedGuides).length > 0; const { frontmatter: guideFrontmatter, author } = guide; --- @@ -27,7 +25,7 @@ const { frontmatter: guideFrontmatter, author } = guide;
-
- {
- author?.frontmatter && (
- <>
-
-
- {author.frontmatter.name}
-
- ·
- >
- )
- }
- {frontmatter.type} Guide
- ·
- Improve this Guide
-
- {replaceVariables(frontmatter.description)}
-
- {replaceVariables(frontmatter.title)}
-
-