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
+1
View File
@@ -43,6 +43,7 @@ export const getPost = (slug: string) => apiFetch<Post>(`/posts/${encodeURICompo
export const savePost = (data: {
slug: string;
old_slug?: string | null;
title?: string | null;
date?: string;
summary?: string | null;
tags?: string[];
+1
View File
@@ -2,6 +2,7 @@ export interface Post {
slug: string;
date: string;
content: string;
title?: string;
summary?: string;
excerpt?: string;
tags: string[];