diff --git a/.eleventy.js b/.eleventy.js index 6dc8255..ec27b12 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -81,7 +81,7 @@ module.exports = function (eleventyConfig) { // CSS minifier eleventyConfig.addFilter('cssMin', css => { - return new CleanCSS({}).minify(code).styles; + return new CleanCSS({}).minify(css).styles; }); @@ -105,8 +105,8 @@ module.exports = function (eleventyConfig) { output: "public", includes: "_includes", layouts: "_layouts", - markdownTemplateEngine: "md" }, + markdownTemplateEngine: "njk", cname: 'geowen.dev' }; }; diff --git a/src/_includes/base.njk b/src/_includes/base.njk index cc2c0af..6fc008f 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -13,10 +13,10 @@ {% include "style/sidebar.css" %} {% endset %} - -