feat(content): implement consultant review recommendations (executive summary, dynamic cta, homelab cleanup)
Deploy / build (push) Successful in 25s
Deploy / build (push) Successful in 25s
This commit is contained in:
1 parent
5ecf25d37c
commit
355fecd348
28 files changed
+1634
-49
No files matched your search
@@ -2,6 +2,8 @@
|
||||
import BaseLayout from '../../layouts/BaseLayout.astro';
|
||||
import AuthorCard from '../../components/AuthorCard.astro';
|
||||
import TableOfContents from '../../components/TableOfContents.astro';
|
||||
import ExecutiveSummary from '../../components/ExecutiveSummary.astro';
|
||||
import DynamicCTA from '../../components/DynamicCTA.astro';
|
||||
import { getCollection, render } from 'astro:content';
|
||||
import { postLang } from '../../lib/lang';
|
||||
import { countWords, readingMinutes } from '../../lib/reading-time';
|
||||
@@ -120,10 +122,16 @@ const jsonLd = {
|
||||
</figure>
|
||||
)}
|
||||
|
||||
{post.data.summary && <ExecutiveSummary summary={post.data.summary} lang={lang} />}
|
||||
|
||||
<TableOfContents headings={headings} lang={lang} />
|
||||
|
||||
<Content />
|
||||
|
||||
{post.data.dynamicCta && (
|
||||
<DynamicCTA category={post.data.category} tags={post.data.tags} lang={lang} title={post.data.title} />
|
||||
)}
|
||||
|
||||
<AuthorCard />
|
||||
</article>
|
||||
|
||||
|
||||
Reference in new issue
Block a user