I’m trying to add a settings page to my Microwave theme so micro.one users are able to customise.
What I’m finding when trying to add a JSON option is that whatever you put in there is wrapped in quotes when added to the config.json.
e.g.
becomes the following in the resulting config.json
:
"categoriesFullImgsHome":"[\"Blog\", \"Potato\"]",
Meaning that because it’s a string, it’s not iterable and the theme won’t build.
Manually editing that to:
"categoriesFullImgsHome":["Blog", "Potato"],
gets it working just fine, and is how I’d expect it should sit in config.json
.
Am I expecting this to work in the wrong way or is it something you can fix please @manton?