From 076375ad005b18e8aa3c18fc67698dfd160342b6 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Thu, 14 May 2026 20:04:04 +0200 Subject: [PATCH] added drafts --- frontend/src/components/react/Search.tsx | 9 +++++++-- frontend/src/pages/index.astro | 5 ++++- frontend/src/pages/posts/[slug].astro | 5 ++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/react/Search.tsx b/frontend/src/components/react/Search.tsx index 14b2343..1a96b91 100644 --- a/frontend/src/components/react/Search.tsx +++ b/frontend/src/components/react/Search.tsx @@ -234,8 +234,13 @@ export default function Search() { }`} >
-
- {title} +
+ {title} + {p.draft && ( + + Draft + + )}