add notizie, rework homepage and fill with content
This commit is contained in:
@@ -4,13 +4,13 @@ import { getCollection } from 'astro:content'
|
||||
import PageLayout from '@layouts/PageLayout.astro'
|
||||
import ArticleCard from '@components/ArticleCard.astro'
|
||||
|
||||
const blogposts = await getCollection('guides')
|
||||
const posts = await getCollection('guides')
|
||||
---
|
||||
|
||||
<PageLayout pageName="guide">
|
||||
<div class="article-list">
|
||||
{
|
||||
blogposts.map(post => (
|
||||
posts.map(post => (
|
||||
<ArticleCard
|
||||
title={post.data.title}
|
||||
id={post.data.id}
|
||||
|
||||
Reference in New Issue
Block a user