update_site
Update site-wide settings like global CSS, head HTML, robots.txt, GDPR banners, and maintenance mode. Only supplied fields change, so other settings remain untouched.
Instructions
Update site-wide settings. Only provided fields change. global_css applies to every page; head_js is raw HTML injected into (use it for / tags such as fonts and analytics).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| head_js | No | Raw <head> HTML: script and link tags | |
| global_css | No | ||
| robots_txt | No | ||
| gdpr_config | No | Cookie banner colours as hex strings | |
| test_domain | No | Subdomain under the CMS host where the site is served for review, e.g. "saolcapital" -> saolcapital.<cms host>. Lower-case slug, must be unique. | |
| theme_colors | No | Comma-separated hex colours exposed as CSS variables | |
| blog_list_class | No | Classes for the wrapper around the items, e.g. "row py-4" | |
| blog_date_format | No | PHP date format for {{date}}, e.g. "F jS" | |
| maintenance_mode | No | ||
| enable_gdpr_popup | No | ||
| blog_item_template | No | HTML for one blog list item. Placeholders: {{title}} {{url}} {{date}} {{image}} {{read_time}} {{excerpt}} {{author}} {{subtitle}} {{tags}}; sections {{#image}}...{{/image}} and {{^image}}...{{/image}}. The first element gets class blog-post automatically. Empty = default article list. | |
| recaptcha_public_key | No | ||
| recaptcha_secret_key | No | Required for the built-in contact form endpoint (reCAPTCHA; v2 invisible or v3) |