10 years later #1
2 changed files with 52 additions and 48 deletions
11
.eleventy.js
11
.eleventy.js
|
|
@ -1,7 +1,10 @@
|
||||||
const {EleventyHtmlBasePlugin} = require("@11ty/eleventy");
|
/* jshint strict: false */
|
||||||
|
|
||||||
module.exports = function (eleventyConfig) {
|
import {HtmlBasePlugin} from "@11ty/eleventy";
|
||||||
eleventyConfig.addPlugin(EleventyHtmlBasePlugin);
|
|
||||||
|
// noinspection JSUnusedGlobalSymbols
|
||||||
|
export default async function (eleventyConfig) {
|
||||||
|
eleventyConfig.addPlugin(HtmlBasePlugin);
|
||||||
|
|
||||||
eleventyConfig.setLiquidOptions({
|
eleventyConfig.setLiquidOptions({
|
||||||
// greedy: false,
|
// greedy: false,
|
||||||
|
|
@ -82,4 +85,4 @@ module.exports = function (eleventyConfig) {
|
||||||
templateFormats: ['html', 'liquid', 'njk', 'md']
|
templateFormats: ['html', 'liquid', 'njk', 'md']
|
||||||
// pathPrefix: './demo/'
|
// pathPrefix: './demo/'
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie.git"
|
"url": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie.git"
|
||||||
},
|
},
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"hello": "echo -n \"This is \" && node -p \"process.env.npm_package_name\" | tr '[:lower:]' '[:upper:]'",
|
"hello": "echo -n \"This is \" && node -p \"process.env.npm_package_name\" | tr '[:lower:]' '[:upper:]'",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue