sites

Sync navbar & footer from one page to all pages

Copies the navbar and footer blocks from a source page (default: home) to every other page on the site, including dynamic.templateBlocks for CMS detail pages. Mirrors the editor's "Apply to all pages" action. Existing navbar/footer blocks on target pages are replaced in-place; pages without them get the block prepended (navbar) or appended (footer).

post/api/v1/sites/{subdomain}/sync-chrome

Request

  • Base URL: https://slatehut.com
  • URL: https://slatehut.com/api/v1/sites/{subdomain}/sync-chrome
  • Auth: HTTP bearer

Request body

sourcePageSlugstring

Slug of the page to copy navbar/footer from. Defaults to home page ("").

Response

Sync complete

successboolean required
syncedstring[] required

Which block types were found and synced

Changes

No recorded changes to this operation across all 1 revision of this API.