This commit is contained in:
2025-04-25 16:51:25 -03:00
parent 293444f421
commit 311a66c5b0
13 changed files with 97 additions and 18 deletions

View File

@@ -0,0 +1,10 @@
---
import Search from "./Search";
import { getCollection, render } from "astro:content";
const courses = await getCollection(
"courses",
({ data }) => data.draft != true,
);
---
<Search client:load searchlist={courses} />