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

@ -10,8 +10,10 @@ import {
getPublishedPosts,
} from '../lib/site';
const LATEST_ARTICLES = 5;
const posts = await getPublishedPosts();
const latestPosts = posts.slice(0, 5);
const latestPosts = posts.slice(0, LATEST_ARTICLES);
const projects = await getProjects();
const selectedProjects = projects.filter((project) => project.data.selected);
const tags = getAllTags(posts);