mirror of
https://github.com/youwen5/site.git
synced 2024-11-24 17:33:51 -08:00
feat: add correct href to post cards
This commit is contained in:
parent
199d95680a
commit
28321ae003
2 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
<script lang="ts">
|
||||
import { ChevronRight } from 'svelte-radix';
|
||||
import PostMetadata from './PostMetadata.svelte';
|
||||
import Crumbs from './Crumbs.svelte';
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
/>
|
||||
<div class="flex flex-col justify-around col-span-3 md:col-span-2 gap-4">
|
||||
<p class="text-primary/95 font-serif leading-relaxed">{doc.metadata.manifest.description}</p>
|
||||
<Button variant="outline" href="/blog/2024/test-post" class="text-xl flex-grow sm:flex-grow-0"
|
||||
<Button variant="outline" href={`/blog/${doc.slug}`} class="text-xl flex-grow sm:flex-grow-0"
|
||||
>Read More</Button
|
||||
>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue