I’ve set up my custom Theme and want to make hrefs customizable through administration.
I added a custom field of type text in my theme.json, but as soon as I enter a URL in that field, the theme can’t compile anymore.
This is the appearing error:
Unable to compile the theme "CustomTheme". parse error: failed at `$configFieldHeaderLink: https://exampleurl.com;`
The special characters in the URL seem to be a problem. If I enter anything without „/“ and „.“ it works perfectly fine, but obviously I need those characters because I want to customize a URL.
Did anyone else encounter problems like this one? Any ideas on how to solve this issue?
Thanks in advance!