The model the the template page receives has all properties wrapped in arrays. The reason being that the properties all behave identically.
In practice, this has as many problems as it solves. The theme is "dev land" anyway, so they understand type and can tell the diff between an array and string.
JSON schema would help the theme know what type of data they were dealing with.
The model the the template page receives has all properties wrapped in arrays. The reason being that the properties all behave identically.
In practice, this has as many problems as it solves. The theme is "dev land" anyway, so they understand
type
and can tell the diff between an array and string.JSON schema would help the theme know what type of data they were dealing with.