Add a static site generator
There is no build for the element or site utilities like PrismJS yet, so this site only works locally at the moment.
This commit is contained in:
committed by
Justin Fagnani
parent
2b3e914666
commit
fc662728eb
15
.eleventy.cjs
Normal file
15
.eleventy.cjs
Normal file
@@ -0,0 +1,15 @@
|
||||
const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
|
||||
|
||||
module.exports = function(eleventyConfig) {
|
||||
eleventyConfig.addPlugin(syntaxHighlight);
|
||||
return {
|
||||
dir: {
|
||||
input: "docs-src",
|
||||
output: "docs"
|
||||
},
|
||||
templateExtensionAliases: {
|
||||
"11ty.cjs": "11ty.js",
|
||||
"11tydata.cjs": "11tydata.js"
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user