feat: make Footer copyright and creator texts dynamic via CMS
This commit is contained in:
+27
-2
@@ -245,8 +245,33 @@ async function run() {
|
||||
association: {
|
||||
title: 'Działam w ramach b.b.h. Lohnsteuerhilfeverein e.V.',
|
||||
link: 'https://bbh-lohnsteuerhilfe.de',
|
||||
}
|
||||
}
|
||||
},
|
||||
copyright: '© 2024 Finanz- & Lohnbuchhaltung Dipl.-Ing. Janusz Kędzierski. Wszelkie prawa zastrzeżone.',
|
||||
creator: {
|
||||
label: 'Realizacja:',
|
||||
name: 'NetScale',
|
||||
url: 'https://netscale.pl',
|
||||
},
|
||||
},
|
||||
locale: 'pl'
|
||||
});
|
||||
|
||||
await payload.updateGlobal({
|
||||
slug: 'footer',
|
||||
data: {
|
||||
navigation: footerNavPages,
|
||||
association: {
|
||||
title: 'Ich bin im Rahmen des b.b.h. Lohnsteuerhilfevereins e.V. tätig.',
|
||||
link: 'https://bbh-lohnsteuerhilfe.de',
|
||||
},
|
||||
copyright: '© 2024 Finanz- & Lohnbuchhaltung Dipl.-Ing. Janusz Kędzierski. Alle Rechte vorbehalten.',
|
||||
creator: {
|
||||
label: 'Erstellt von',
|
||||
name: 'NetScale',
|
||||
url: 'https://netscale.pl',
|
||||
},
|
||||
},
|
||||
locale: 'de'
|
||||
});
|
||||
|
||||
console.log('Seeding site-settings (homepage)...')
|
||||
|
||||
Reference in New Issue
Block a user