Update template to Astro 5.0, use Content Collections

This commit is contained in:
Cassidy Williams
2024-12-14 09:46:58 -06:00
parent 90a26b0085
commit 444cbe1502
16 changed files with 11018 additions and 9215 deletions

View File

@@ -2,7 +2,7 @@ export default function getTags(posts) {
// Get tags from all posts
const allTags = posts
.map((post) => {
const postTags = post.frontmatter.tags;
const postTags = post.data.tags;
let allTags = [];
if (postTags?.length > 0) {