style: Change " to '

This commit is contained in:
sthag 2025-11-01 12:04:26 +01:00
parent 4a347b821e
commit d65016c5d1

View file

@ -14,14 +14,14 @@ module.exports = function (eleventyConfig) {
trimBlocks: true
});
eleventyConfig.addGlobalData("permalink", () => {
eleventyConfig.addGlobalData('permalink', () => {
return (data) => `${data.page.filePathStem}.${data.page.outputFileExtension}`;
});
let demoMode = false;
let pageBase = demoMode ? './demo/' : './';
eleventyConfig.addGlobalData("hippie", {
eleventyConfig.addGlobalData('hippie', {
pageBase: pageBase,
brand: 'hippie',
titlePrefix: '',
@ -30,32 +30,32 @@ module.exports = function (eleventyConfig) {
legacyMode: false
});
eleventyConfig.addPassthroughCopy({"source/art/images": "art"});
eleventyConfig.addPassthroughCopy({'source/art/images': 'art'});
eleventyConfig.addPassthroughCopy({"source/art/favicons/**/*.+(ico|png|svg)": "."});
eleventyConfig.addPassthroughCopy({'source/art/favicons/**/*.+(ico|png|svg)': '.'});
eleventyConfig.addPassthroughCopy({"source/code/**/*.js": "js"});
eleventyConfig.addPassthroughCopy({'source/code/**/*.js': 'js'});
eleventyConfig.addPassthroughCopy({"source/data/**/*.json": "json"});
eleventyConfig.addPassthroughCopy({'source/data/**/*.json': 'json'});
eleventyConfig.addPassthroughCopy("vendor");
eleventyConfig.addPassthroughCopy({"node_modules/bootstrap-icons": "vendor/bootstrap-icons"});
eleventyConfig.addPassthroughCopy('vendor');
eleventyConfig.addPassthroughCopy({'node_modules/bootstrap-icons': 'vendor/bootstrap-icons'});
eleventyConfig.addPassthroughCopy({
"node_modules/jquery/dist/jquery.min.js": "vendor/jquery.min.js",
"node_modules/jquery/dist/jquery.min.map": "vendor/jquery.min.map"
'node_modules/jquery/dist/jquery.min.js': 'vendor/jquery.min.js',
'node_modules/jquery/dist/jquery.min.map': 'vendor/jquery.min.map'
});
// eleventyConfig.addPassthroughCopy({"node_modules/normalize.css/normalize.css": "vendor/normalize.css"});
eleventyConfig.addWatchTarget("./source/style/");
eleventyConfig.addWatchTarget('./source/style/');
return {
dir: {
input: "source/screens",
output: "build",
includes: "../templates",
data: "../data"
input: 'source/screens',
output: 'build',
includes: '../templates',
data: '../data'
},
templateFormats: ["html", "liquid", "njk", "md"]
templateFormats: ['html', 'liquid', 'njk', 'md']
// pathPrefix: './demo/'
};
};