diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index d1b3c04..e980c14 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -45,4 +45,14 @@ const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props; - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/src/components/Header.astro b/src/components/Header.astro index 42d363b..48663ed 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -12,7 +12,7 @@ import { SITE_TITLE } from "../consts"; class="flex items-center space-x-3 rtl:space-x-reverse" > Flowbite Logo diff --git a/src/pages/nkauj/[...slug].astro b/src/pages/nkauj/[...slug].astro index aa95e27..c7f34dc 100644 --- a/src/pages/nkauj/[...slug].astro +++ b/src/pages/nkauj/[...slug].astro @@ -1,7 +1,7 @@ --- import { type CollectionEntry, getCollection } from 'astro:content'; import BlogNkauj from '../../layouts/BlogNkauj.astro'; - +export const prerender = true; export async function getStaticPaths() { const posts = await getCollection('nkauj'); return posts.map((post:any) => ({ diff --git a/src/pages/nkauj/index.astro b/src/pages/nkauj/index.astro index 8718601..0d1feb2 100644 --- a/src/pages/nkauj/index.astro +++ b/src/pages/nkauj/index.astro @@ -18,13 +18,12 @@ const posts = (await getCollection("nkauj")).sort(
- ww {posts} ww
{ posts.map((post: any) => (