@diagonal-hq/cli 0.42.18 → 0.42.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -218,7 +218,7 @@ The build reports each of these errors at `file:line:column`:
218
218
 
219
219
  `diagonal check --fix` rewrites `params` and the flat options to `bindings` and `seo` in place. It changes only the options object, and the rest of the file stays byte-identical. It writes in the same pass as a missing `uid`. Without `--fix`, `diagonal check` only warns. A resolver object of another type in a flat option stays in place, and the build reports an error at that option. A `text.template` or `page.binding` resolver in a flat option also stays, with the other flat options of the page, and the build warns at it. Write it as a seo function. The page builder's **Save** writes the new shape too.
220
220
 
221
- The page builder shows a function seo value as read-only, with "Set in the page file". **Save** keeps the function.
221
+ The page builder edits each `seo` value as text or as a seo function. Text that starts with `({ bindings }) =>` is a function, and **Save** writes it into the page file. The social image also takes `Assets.<Name>.key`, and its button picks an Application Asset.
222
222
 
223
223
  The change is forward-only. A file with `seo` needs a `@diagonal-hq/cli` version that has this option. An older version reports `Unknown page option "seo"`.
224
224