move css file
This commit is contained in:
parent
8720664d10
commit
8875fbdd07
3 changed files with 2 additions and 7 deletions
|
@ -8,7 +8,7 @@
|
||||||
<link rel="alternate" href="/blog/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
|
<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 }}">
|
<link rel="alternate" href="/blog/feed.json" type="application/json" title="{{ metadata.title }}">
|
||||||
<meta name="generator" content="{{ eleventy.generator }}">
|
<meta name="generator" content="{{ eleventy.generator }}">
|
||||||
<link rel="stylesheet" href="/css/index.css">
|
<link rel="stylesheet" href="index.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a href="#skip" class="visually-hidden">Skip to main content</a>
|
<a href="#skip" class="visually-hidden">Skip to main content</a>
|
||||||
|
|
|
@ -11,13 +11,8 @@ const pluginDrafts = require("./eleventy.config.drafts.js");
|
||||||
|
|
||||||
/** @param {import('@11ty/eleventy').UserConfig} eleventyConfig */
|
/** @param {import('@11ty/eleventy').UserConfig} eleventyConfig */
|
||||||
module.exports = function(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/**/*.png");
|
||||||
|
eleventyConfig.addPassthroughCopy('content/**/*.css');
|
||||||
|
|
||||||
// Run Eleventy when these files change:
|
// Run Eleventy when these files change:
|
||||||
// https://www.11ty.dev/docs/watch-serve/#add-your-own-watch-targets
|
// https://www.11ty.dev/docs/watch-serve/#add-your-own-watch-targets
|
||||||
|
|
Loading…
Reference in a new issue