feat: update game layout and content

This commit is contained in:
Devin Haska 2025-01-24 13:39:58 -08:00
parent 636a0f04ea
commit 8e41cb5af7
25 changed files with 165 additions and 34 deletions

View file

@ -38,10 +38,12 @@ export default function (eleventyConfig) {
// --------------------- Custom Collections -----------------------
eleventyConfig.addCollection("postsByTag", postsByTag);
eleventyConfig.addCollection("booksByTag", (collection) => {
const data = collectionByTag(collection, "book");
return data;
});
eleventyConfig.addCollection("booksByTag", (collection) =>
collectionByTag(collection, "book"),
);
eleventyConfig.addCollection("gamesByTag", (collection) =>
collectionByTag(collection, "game"),
);
// --------------------- Custom Filters -----------------------
eleventyConfig.addFilter("allTagCounts", allTagCounts);