summaryrefslogtreecommitdiff
path: root/src/pages/index.astro
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-14 23:56:57 +0200
committerKyren223 <Kyren223@proton.me>2024-11-14 23:56:57 +0200
commit74702d29acb3e6a7667aa443557f4c323ce118f8 (patch)
tree28550e4307d835b06e7661ebe0bb5de8fdfd4be4 /src/pages/index.astro
parentf944960c2ebbf5cec16d8d1df5d53bc387592437 (diff)
Experimenting with my own markdown styling for blogs
Diffstat (limited to 'src/pages/index.astro')
-rw-r--r--src/pages/index.astro4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pages/index.astro b/src/pages/index.astro
index a150059..872b360 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -123,9 +123,7 @@ watching Anime or solving Rubik's cubes fast.`.trimStart();
<BlogItem
header="Latest Blog Post"
title={latestBlog.data.title}
- description={latestBlog.data.description
- ? latestBlog.data.description
- : ""}
+ description={latestBlog.data.description ?? ""}
date={latestBlog.data.date}
href={"/blogs/" + latestBlog.slug}
/>