move css file

This commit is contained in:
Nycki 2024-09-13 21:38:03 -07:00
parent 8720664d10
commit 8875fbdd07
3 changed files with 2 additions and 7 deletions

View file

@ -8,7 +8,7 @@
<link rel="alternate" href="/blog/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
<link rel="alternate" href="/blog/feed.json" type="application/json" title="{{ metadata.title }}">
<meta name="generator" content="{{ eleventy.generator }}">
<link rel="stylesheet" href="/css/index.css">
<link rel="stylesheet" href="index.css">
</head>
<body>
<a href="#skip" class="visually-hidden">Skip to main content</a>

View file

@ -11,13 +11,8 @@ const pluginDrafts = require("./eleventy.config.drafts.js");
/** @param {import('@11ty/eleventy').UserConfig} eleventyConfig */
module.exports = function(eleventyConfig) {
// Copy the contents of the `public` folder to the output folder
// For example, `./public/css/` ends up in `_site/css/`
eleventyConfig.addPassthroughCopy({
"./public/": "/",
"./node_modules/prismjs/themes/prism-okaidia.css": "/css/prism-okaidia.css"
});
eleventyConfig.addPassthroughCopy("content/**/*.png");
eleventyConfig.addPassthroughCopy('content/**/*.css');
// Run Eleventy when these files change:
// https://www.11ty.dev/docs/watch-serve/#add-your-own-watch-targets