build!: upgrade Astro to v5 and related packages

This commit is contained in:
satnaing
2025-02-08 18:49:12 +07:00
committed by Sat Naing
parent 1d7b6da440
commit cc936ca5e4
12 changed files with 1654 additions and 1960 deletions
+2 -2
View File
@@ -13,11 +13,11 @@ const posts = await getCollection("blog", ({ data }) => !data.draft);
const sortedPosts = getSortedPosts(posts);
// List of items to search in
const searchList = sortedPosts.map(({ data, slug }) => ({
const searchList = sortedPosts.map(({ data, id }) => ({
title: data.title,
description: data.description,
data,
slug,
slug: id,
}));
---