switch to fully static site

This commit is contained in:
2024-06-24 21:32:27 -04:00
parent 1707188201
commit 3947e06968
5 changed files with 20 additions and 6 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
---
export const prerender = true;
import { getCollection } from 'astro:content';
import Layout from '@layouts/Layout.astro';
@@ -22,7 +21,7 @@ const posts = await getCollection('blog');
{
posts.length < 6 ? null : (
<div class="more-posts">
<a href="/archive/all?page=1">All Posts</a>
<a href="/archive/all">All Posts</a>
</div>
)
}