feat: update game layout and content
This commit is contained in:
parent
636a0f04ea
commit
8e41cb5af7
25 changed files with 165 additions and 34 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue