From 98db3d37efda3a851161e943f019766e8243ef68 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sun, 14 Jan 2024 23:30:26 +0100 Subject: [PATCH] add anchor links --- website/src/components/BlogPost.astro | 2 +- website/src/pages/blog.astro | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/website/src/components/BlogPost.astro b/website/src/components/BlogPost.astro index 1fdb5a1a..0b3fc6a5 100644 --- a/website/src/components/BlogPost.astro +++ b/website/src/components/BlogPost.astro @@ -12,7 +12,7 @@ const { Content } = await post.render(); >
-

{post.title}

+

{post.title}

diff --git a/website/src/pages/blog.astro b/website/src/pages/blog.astro index 431244c6..d01eb6b8 100644 --- a/website/src/pages/blog.astro +++ b/website/src/pages/blog.astro @@ -36,7 +36,13 @@ const posts = (await getCollection('blog')).sort((a, b) => compareDesc(a.data.da {posts.map((post) => )}