diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-22 21:15:50 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-22 21:16:51 +0300 |
| commit | 705403fe31d8fd935bfebf92cdbdb511350ddbbf (patch) | |
| tree | 15c6cfe121a94ebff271609269adb6e8b5b60b8c /website/src/pages | |
| parent | 995a429cb85e7b33e662df61e92d798a600fc317 (diff) | |
feat: add author card to bottom of blog posts
Diffstat (limited to 'website/src/pages')
| -rw-r--r-- | website/src/pages/blog/[slug].astro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/website/src/pages/blog/[slug].astro b/website/src/pages/blog/[slug].astro index 1de8df6a..48cba857 100644 --- a/website/src/pages/blog/[slug].astro +++ b/website/src/pages/blog/[slug].astro @@ -1,6 +1,7 @@ --- import { getCollection, render } from 'astro:content'; import MarketingLayout from '../../components/MarketingLayout.astro'; +import AuthorCard from '../../components/AuthorCard.astro'; export async function getStaticPaths() { const posts = await getCollection('blog'); @@ -55,6 +56,7 @@ const sectionHeadings = headings.filter((heading) => heading.depth === 2); <div class="article-prose"> <Content /> </div> + <AuthorCard /> </article> </div> </main> |
