diff --git a/.eleventy.js b/.eleventy.js index 3ecd170..0f960b6 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -32,14 +32,11 @@ async function imageShortcode( module.exports = function(eleventyConfig) { // Copy the `img` and `css` folders to the output eleventyConfig.addPassthroughCopy("img"); - eleventyConfig.addPassthroughCopy("css"); // Add plugins eleventyConfig.addPlugin(pluginSyntaxHighlight); eleventyConfig.addPlugin(pluginNavigation); - eleventyConfig.addWatchTarget("./css"); - // Alias `layout: article` to `layout: layouts/post.njk` eleventyConfig.addLayoutAlias("article", "layouts/article.njk"); diff --git a/package.json b/package.json index 2ef89a2..e18f71b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "", "scripts": { "build": "npm-run-all clean-build build:ts build:11ty -p minify:* build:css", - "build:css": "postcss src/css/app.css -o css/global.css", + "build:css": "postcss src/css/app.css -o _site/css/global.css", "build:11ty": "eleventy", "build:ts": "spack", "clean-build": "rimraf build", diff --git a/spack.config.js b/spack.config.js index 1550222..f131fdd 100644 --- a/spack.config.js +++ b/spack.config.js @@ -7,7 +7,7 @@ module.exports = config({ }, output: { - path: path.join(__dirname, "js"), + path: path.join(__dirname, "_site/js"), name: "main.js", }, diff --git a/src/css/components/meta.css b/src/css/components/meta.css index 70ca77e..67d890c 100644 --- a/src/css/components/meta.css +++ b/src/css/components/meta.css @@ -19,6 +19,6 @@ text-decoration: none; } -.post-tags__item:has(.post-tag):hover { +.post-tags__item:hover { background-color: var(--gray-4); }