chore: support images in markdown files, reversed news list ordering
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-01-07 22:46:39 +01:00
parent 9684ff98ea
commit af4f3d35f0
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ const news = await getCollection('news')
<h1><a href="/notizie">Notizie</a></h1>
<div class="card-list">
{
news.map(newsItem => (
news.toReversed().map(newsItem => (
<div class="card">
<a href={`/notizie/${newsItem.slug}`} class="title">
{newsItem.data.title}