Skip to content

Feature: Call publishLayout hook when publishing layouts

Compare
Choose a tag to compare
@nelsonpecora nelsonpecora released this 30 May 18:13
· 139 commits to master since this release
  • Layouts are denoted with a root-level _layout: true property in their schemas
  • When publishing components, amphora will check the schema to determine if they are layouts
  • When publishing a layout, amphora will call the publishLayout plugin hook
  • This is used by amphora-search to populate and update the layouts index