Update template to Astro 5.0, use Content Collections

This commit is contained in:
Cassidy Williams committed 2024-12-14 09:46:58 -06:00
1 parent 90a26b0085
commit 444cbe1502
16 files changed
+11018 -9215

No files matched your search

+1 -1
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) {