forked from phc/website
fixed order of news on the main page
This commit is contained in:
@@ -45,7 +45,7 @@ const galleryCollage = await Astro.glob('@/assets/gallery/*.jpg')
|
||||
|
||||
<div class="card-list">
|
||||
{
|
||||
news.map(newsItem => (
|
||||
news.toReversed().map(newsItem => (
|
||||
<Card>
|
||||
<a href={`/notizie/${newsItem.slug}`} class="title">
|
||||
{newsItem.data.title}
|
||||
|
||||
Reference in New Issue
Block a user