diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index 3b3226fcc9..ae7f5bd9e6 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -56,6 +56,6 @@ - + diff --git a/eleventy.config.js b/eleventy.config.js index 3fba4b71b3..9f57b679e8 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -92,6 +92,10 @@ module.exports = function(eleventyConfig) { }); }); + eleventyConfig.addShortcode("currentBuildDate", () => { + return (new Date()).toISOString(); + }) + // Features to make your build faster (when you need them) // If your passthrough copy gets heavy and cumbersome, add this line