add anchor links

This commit is contained in:
Felix Roos
2024-01-14 23:30:26 +01:00
parent c02976782b
commit 98db3d37ef
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ const { Content } = await post.render();
>
<div class="pb-2">
<div class="md:flex justify-between">
<h1 class="mb-4">{post.title}</h1>
<h1 class="mb-4" id={post.slug}>{post.title}</h1>
</div>
</div>
<div>