feat: add watching section
This commit is contained in:
parent
751b2f02b3
commit
aa1a19b46d
22 changed files with 300 additions and 4 deletions
|
@ -44,6 +44,11 @@ export default function (eleventyConfig) {
|
|||
const byYear = transformByDate(data);
|
||||
return byYear;
|
||||
});
|
||||
eleventyConfig.addCollection("moviesByYear", (collection) => {
|
||||
const data = collection.getFilteredByTag("movie");
|
||||
const byYear = transformByDate(data);
|
||||
return byYear;
|
||||
});
|
||||
eleventyConfig.addCollection("catalogueByType", catalogueByType);
|
||||
eleventyConfig.addCollection("postsByTag", postsByTag);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue