From e60c17cca294c77e1c24ebad7fe3ff540db926bd Mon Sep 17 00:00:00 2001 From: Ole Eskild Steensen Date: Wed, 1 Feb 2023 17:08:10 +0100 Subject: [PATCH] Fix theme issues --- .eleventy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eleventy.js b/.eleventy.js index e62cb25..7770b1e 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -280,6 +280,7 @@ module.exports = function (eleventyConfig) { }); eleventyConfig.addPassthroughCopy("src/site/img"); + eleventyConfig.addPassthroughCopy("src/site/styles/_theme.*.css"); eleventyConfig.addPlugin(faviconPlugin, { destination: "dist" }); eleventyConfig.addPlugin(tocPlugin, { ul: true, @@ -304,7 +305,7 @@ module.exports = function (eleventyConfig) { output: "dist", data: `_data`, }, - templateFormats: ["njk", "md", "11ty.js", "css"], + templateFormats: ["njk", "md", "11ty.js"], htmlTemplateEngine: "njk", markdownTemplateEngine: "njk", passthroughFileCopy: true,