Migrate to Contentlayer2

This commit is contained in:
2025-11-19 21:46:49 +08:00
parent a249a120a5
commit 4c08413936
18 changed files with 1370 additions and 6377 deletions

View File

@@ -1,6 +1,6 @@
import Link from 'next/link';
import Image from 'next/image';
import type { Post } from 'contentlayer/generated';
import type { Post } from 'contentlayer2/generated';
import { siteConfig } from '@/lib/config';
import { faCalendarDays, faTags } from '@fortawesome/free-solid-svg-icons';
import { MetaItem } from './meta-item';