mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
merch banner on all locales
This commit is contained in:
parent
202dd19d3c
commit
95e9f51774
@ -55,7 +55,7 @@ export const adsInternal = [
|
||||
// },
|
||||
{
|
||||
enabled: true,
|
||||
locale: 'en',
|
||||
locale: null,
|
||||
image: 'merch-1.png',
|
||||
placeholders: ['content-0', 'content-mobile-0'],
|
||||
link: 'https://shop.pronouns.page',
|
||||
@ -63,7 +63,7 @@ export const adsInternal = [
|
||||
},
|
||||
{
|
||||
enabled: true,
|
||||
locale: 'en',
|
||||
locale: null,
|
||||
image: 'merch-1.png',
|
||||
placeholders: ['header'],
|
||||
link: 'https://shop.pronouns.page',
|
||||
@ -75,7 +75,7 @@ export const adsInternal = [
|
||||
export default (locale) => {
|
||||
const adsInternalPerPlaceholder = {};
|
||||
for (const ad of adsInternal) {
|
||||
if (ad.enabled === false || ad.locale !== locale) {
|
||||
if (ad.enabled === false || (ad.locale !== null && ad.locale !== locale)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user