Fix bugs with permalink in HighlightedPosts

This commit is contained in:
prototypa
2022-10-16 00:33:21 +02:00
parent a0888c60e7
commit 2ffb17050a
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "@onwidget/astrowind",
"description": "A template to make your website using Astro + Tailwind CSS.",
"version": "0.4.0",
"version": "0.4.1",
"private": true,
"scripts": {
"dev": "astro dev",

View File

@ -44,7 +44,7 @@ const items = await Promise.all(
/>
<h3 class="mb-2 text-xl font-bold leading-snug sm:text-2xl font-heading">
<a
href={getPermalink(post.slug, 'type')}
href={getPermalink(post.slug, 'post')}
class="hover:text-primary-600 underline underline-offset-4 decoration-1 decoration-dotted transition ease-in duration-200"
>
{post.title}