AI fixes
Some checks failed
Deploy to Pages / build (pull_request) Failing after 1m5s

This commit is contained in:
Andras Schmelczer 2026-05-24 10:34:24 +01:00
parent eceb31a9ad
commit e9b6035c58
48 changed files with 354 additions and 340 deletions

View file

@ -3,8 +3,10 @@ import ArticleList from '../components/ArticleList.astro';
import Page from '../layouts/Page.astro';
import { getPublishedPosts } from '../lib/site';
const RECENT_ARTICLES = 5;
const posts = await getPublishedPosts();
const recent = posts.slice(0, 5);
const recent = posts.slice(0, RECENT_ARTICLES);
---
<Page