diff --git a/.eleventy.js b/.eleventy.js index 36f9d97b..ca40a2ee 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -75,7 +75,6 @@ export default async function (eleventyConfig) { }) eleventyConfig.addShortcode('appVersion', () => appVersion) - eleventyConfig.addShortcode('isProduction', () => process.env.ELEVENTY_PRODUCTION === 'true') // events if (process.env.ELEVENTY_PRODUCTION) eleventyConfig.on('afterBuild', copyErrorPages) diff --git a/src/includes/base.liquid b/src/includes/base.liquid index fae0b645..2b31f4ab 100644 --- a/src/includes/base.liquid +++ b/src/includes/base.liquid @@ -117,10 +117,8 @@ - {%- if isProduction -%} - - - {%- endif -%} + +