diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index 3b3226fcc..ae7f5bd9e 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 3fba4b71b..9f57b679e 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