diff --git a/src/index.js b/src/index.js index 4d48f1e..bbc1f58 100644 --- a/src/index.js +++ b/src/index.js @@ -24,11 +24,13 @@ export default function applyConfig(config) { published_at: process.env.RAZZLE_FRONTEND_PUBLISHED_AT || null, }, timezone: 'CET', - matomoSiteId: 46, pathsWithFullobjects: ['/news', '/events'], pathsWithExtraParameters: { - '/news': { b_start: 0, b_size: 1000 }, - '/events': { b_start: 0, b_size: 1000 }, + '/news': { b_start: 0, b_size: 100000, metadatafields: '_all' }, + '/events': { b_start: 0, b_size: 100000, metadatafields: '_all' }, + '/latest-news-events-on-forest': { + include_items: 'False', + }, }, }; @@ -61,4 +63,4 @@ export default function applyConfig(config) { }; return config; -} +} \ No newline at end of file diff --git a/src/localconfig.js b/src/localconfig.js index 16bcaad..519f19c 100644 --- a/src/localconfig.js +++ b/src/localconfig.js @@ -225,6 +225,16 @@ export function applyConfig(config) { cssClass: 'drop-shadow-tile margin-block-10 padding-block-10', }, ]; + + config.settings.slate = config.settings.slate || {}; + config.settings.slate.styleMenu = config.settings.slate.styleMenu || {}; + config.settings.slate.styleMenu.inlineStyles = [ + ...(config.settings.slate.styleMenu?.inlineStyles || []), + { + cssClass: 'discreet block_source', + label: 'Source formatting', + }, + ]; // config.settings.search_portal_types = [ // 'Event', // 'News Item',