mirror of
https://github.com/kevinnlsamuel/rainbowcroissant.git
synced 2025-12-06 01:56:00 +05:30
* purge sveltekit * install eleventy * move out stuff. move stuff around * add basic stuff * update picocss + knls patch for navlist margins * install some stuff for 11ty markdown attributes configure eleventy renderFile plugin * make base layout * more complete base layout * style base to full page body * PAGES * add npm build script
20 lines
470 B
JavaScript
20 lines
470 B
JavaScript
const { EleventyHtmlBasePlugin, EleventyRenderPlugin } = require("@11ty/eleventy");
|
|
const markdownItAttrs = require("markdown-it-attrs");
|
|
|
|
module.exports = function(eleventyConfig){
|
|
eleventyConfig.addPlugin(EleventyHtmlBasePlugin);
|
|
eleventyConfig.addPlugin(EleventyRenderPlugin);
|
|
|
|
eleventyConfig.amendLibrary("md", mdLib => mdLib.use(markdownItAttrs));
|
|
|
|
eleventyConfig.addPassthroughCopy("static");
|
|
|
|
return {
|
|
pathPrefix: "/",
|
|
dir: {
|
|
input: "src",
|
|
},
|
|
}
|
|
}
|
|
|