generated from inherentlee/11ty
prep for zine functionality
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ export default function (eleventyConfig) {
|
||||
eleventyConfig.addFilter("getYear", (target) => {
|
||||
if (target.data.tags.includes("2024")) return "2024";
|
||||
if (target.data.tags.includes("2025")) return "2025";
|
||||
if (target.data.tags.includes("2026-2027")) return "2026-2027";
|
||||
if (target.data.tags.includes("2026")) return "2026-2027";
|
||||
});
|
||||
|
||||
/* Return n elements from a list */
|
||||
|
||||
Reference in New Issue
Block a user