Site settings

Advanced JSON

Edit the full site configuration as JSON and check it against the published schema

What Advanced JSON gives us

Advanced JSON shows the full configuration of a published site as one JSON document. The settings we change on the Appearance, Navigation, Features, and SEO and sharing pages are stored in this same configuration, so we can read and edit all of it in one place.

We use it when we want to:

  • Change several related settings at once, such as theme, layout, and feature toggles.

  • Review the complete configuration before we publish.

  • Set a value that a settings page does not show as its own control.

For everyday changes, the settings pages are easier. They show labeled controls and explain each option.

Edit the configuration

  1. Open the project in the dashboard and go to Site settings.

  2. Open Advanced JSON.

  3. Edit the JSON. The configuration is validated against the published JSON Schema, so we can catch invalid values before we rely on them.

  4. Fix any reported problems and save.

Saved changes are part of the project's configuration, just like changes made on the settings pages. We check the result in a preview and publish when we are ready. See Publishing and restore for how a saved version goes live.

Note:

Before a large edit, copy the JSON somewhere safe. A value that does not match the schema can block the save, so we fix it before we can keep going.

What the configuration covers

The configuration is built from these parts. Each part has a matching settings page where we can make the same change with labeled controls.

PartWhat it controlsSettings page
ThemeTheme preset and colorsAppearance
LayoutSidebar position and section tabsNavigation
FeaturesSearch, API playground, and reader tool optionsFeatures
Search providerWhich search backend the site usesFeatures
SEO and sharingMetadata and link preview detailsSEO and sharing

When to use JSON

Choose Advanced JSON when:

  • We know the field name and the value we want.

  • We need to change many fields in one pass.

  • We want to review the full configuration in one view.

Choose the settings pages when:

  • We want a short explanation of what each option does.

  • We are changing a single toggle or color.

  • We are not sure which value is valid.