diff --git a/.eleventy.js b/.eleventy.js index 346f670..2434cca 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -24,6 +24,7 @@ module.exports = (eleventyConfig) => { eleventyConfig.addGlobalData('accentcolor', 'rebeccapurple'); eleventyConfig.addGlobalData('layout', 'base'); eleventyConfig.addGlobalData('topbar', true); + eleventyConfig.addGlobalData('include_prism', false); eleventyConfig.addGlobalData('fallbackcover', '/assets/images/fallback-cover.webp'); eleventyConfig.addGlobalData('sitemap', { 'priority': 0.5 diff --git a/src/_layouts/base.njk b/src/_layouts/base.njk index 093a002..cab45c5 100644 --- a/src/_layouts/base.njk +++ b/src/_layouts/base.njk @@ -43,8 +43,10 @@ - - + {% if include_prism %} + + + {% endif %}