mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 21:48:27 +00:00
offset blog post anchor links
This commit is contained in:
parent
229b1470f7
commit
23c0ab9648
@ -13,7 +13,8 @@ import { format } from 'date-fns';
|
|||||||
>
|
>
|
||||||
<div class="pb-2">
|
<div class="pb-2">
|
||||||
<div class="md:flex justify-between">
|
<div class="md:flex justify-between">
|
||||||
<h1 class="mb-4" id={post.slug}>{post.data.title}</h1>
|
<h1 class="mb-4">{post.data.title}</h1>
|
||||||
|
<span id={post.slug} class="-mt-16"></span>
|
||||||
</div>
|
</div>
|
||||||
<p class="italic p-0 m-0">
|
<p class="italic p-0 m-0">
|
||||||
<time datetime={post.data.date.toISOString()}>
|
<time datetime={post.data.date.toISOString()}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user