feat: Demo config changed

This commit is contained in:
sthag 2026-04-03 12:35:36 +02:00
parent a962046183
commit c518672db0
2 changed files with 4 additions and 3 deletions

View file

@ -31,7 +31,8 @@ export default async function (eleventyConfig) {
return (data) => `${data.page.filePathStem}.${data.page.outputFileExtension}`;
});
const demoPath = await hasFiles('source/screens') ? '/demo/' : '/';
// TODO: Demo entfernen
const permalinkPath = await hasFiles('source/screens') ? '/demo/' : '/';
eleventyConfig.addGlobalData('hippie', {
brand: 'hippie',
@ -44,7 +45,7 @@ export default async function (eleventyConfig) {
mail: 'name@domain.tld',
domain: 'https://domain.tld'
},
demoPath: demoPath,
permalink: permalinkPath,
debugMode: true,
legacyMode: false
});