summaryrefslogtreecommitdiff
path: root/src/components/blog
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/blog')
-rw-r--r--src/components/blog/GridItem.astro5
-rw-r--r--src/components/blog/ListItem.astro2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/components/blog/GridItem.astro b/src/components/blog/GridItem.astro
index 73353ca..823063c 100644
--- a/src/components/blog/GridItem.astro
+++ b/src/components/blog/GridItem.astro
@@ -58,7 +58,10 @@ const link = APP_BLOG?.post?.isEnabled ? getPermalink(post.permalink, 'post') :
<h3 class="text-xl sm:text-2xl font-bold leading-tight mb-2 font-heading dark:text-slate-300">
{
link ? (
- <a class="inline-block hover:text-primary dark:hover:text-secondary transition ease-in duration-200" href={link}>
+ <a
+ class="inline-block hover:text-primary dark:hover:text-secondary transition ease-in duration-200"
+ href={link}
+ >
{post.title}
</a>
) : (
diff --git a/src/components/blog/ListItem.astro b/src/components/blog/ListItem.astro
index 36602f2..f078c25 100644
--- a/src/components/blog/ListItem.astro
+++ b/src/components/blog/ListItem.astro
@@ -94,7 +94,7 @@ const link = APP_BLOG?.post?.isEnabled ? getPermalink(post.permalink, 'post') :
{
link ? (
<a
- class="inline-block hover:text-primary dark:hover:text-secondary transition ease-in duration-200"
+ class="inline-block hover:text-primary dark:hover:text-secondary transition ease-in duration-200"
href={link}
>
{post.title}