seperated url and title + escape
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user