feat: Cache le blog

This commit is contained in:
Simon C
2024-05-06 22:36:39 +02:00
parent f74186e539
commit 3de9faefc8
8 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import Link from 'next/link'
import { formatDate, getBlogPosts } from '@/app/blog/utils'
import { formatDate, getBlogPosts } from '@/blog/utils'
export function BlogPosts() {
let allBlogs = getBlogPosts().sort((a, b) => {