CSS Naked Day changes
Build and copy to prod / build-and-copy (push) Successful in 1m57s

This commit is contained in:
Lewis Dale committed 2024-04-09 08:15:27 +01:00
1 parent 15abe350df
commit 707283da51
3 files changed
+42

No files matched your search

+8
View File
@@ -16,5 +16,13 @@ module.exports = function(eleventyConfig) {
'hour12': true
}));
eleventyConfig.addGlobalData('isCSSNakedDay', () => {
const dateObj = new Date();
return dateObj.getMonth() === 3 && dateObj.getFullYear() === 2024 && dateObj.getDate() === 9;
});
// eleventyConfig.addFilter('rfc3339', date => new Date(date).toISOString());
}