diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index 3b3226f..ae7f5bd 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 3fba4b7..9f57b67 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