Skip to content

Commit

Permalink
Backport #441 - Fix initialblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Dec 9, 2024
1 parent 678911a commit 63ec4a6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/volto-light-theme/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,11 @@ const applyConfig = (config) => {
config.settings.contentMetadataTagsImageField = 'preview_image';

// Initial block for event content type
config.blocks.initialBlocks = {
Event: [
{ '@type': 'title' },
{ '@type': 'eventMetadata', fixed: true, required: true },
{ '@type': 'slate' },
],
};
config.blocks.initialBlocks.Event = [
{ '@type': 'title' },
{ '@type': 'eventMetadata', fixed: true, required: true },
{ '@type': 'slate' },
];

config.settings.siteLabel = '';
config.settings.intranetHeader = false;
Expand Down

0 comments on commit 63ec4a6

Please sign in to comment.