seperated url and title + escape

This commit is contained in:
2026-05-09 09:59:27 +02:00
parent e6cfd61307
commit 4ff9579cff
10 changed files with 78 additions and 17 deletions
+2
View File
@@ -7,6 +7,7 @@ const API_URL = process.env.PUBLIC_API_URL || 'http://localhost:3000';
interface Post {
slug: string;
date: string;
title?: string;
excerpt?: string;
tags: string[];
draft: boolean;
@@ -78,6 +79,7 @@ function formatSlug(slug: string) {
<PostCard
slug={post.slug}
date={post.date}
title={post.title}
excerpt={post.excerpt}
tags={post.tags}
draft={post.draft}