build(astro): migrate site to Astro 6

This commit is contained in:
DeCentN2Madness committed 2026-07-28 20:34:29 -07:00
1 parent 679731d3e2
commit a0cbcc7e71
10 files changed
+1537 -1073

No files matched your search

+7
View File
@@ -1,5 +1,12 @@
---
import type { CollectionEntry } from 'astro:content';
import LikeViewCounter from './LikeViewCounter.astro';
interface Props {
post: CollectionEntry<'blog'>;
prefix?: string;
}
const { post, prefix = '' } = Astro.props;
const href = `${prefix}/library/${post.data.slug}`.replace('//', '/');
const readMore = { en: 'Read More', es: 'Leer Más', ar: 'اقرأ المزيد' }[post.data.lang] || 'Read More';