This commit is contained in:
1 parent
15abe350df
commit
707283da51
3 files changed
+42
No files matched your search
@@ -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());
|
||||
}
|
||||
Reference in new issue
Block a user