--- import BaseLayout from '../../layouts/BaseLayout.astro'; import { getCollection } from 'astro:content'; const news = (await getCollection('news')).sort( (a, b) => b.data.date.getTime() - a.data.date.getTime() ); ---

新闻动态