feat: Demo config changed
This commit is contained in:
parent
a962046183
commit
c518672db0
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue