I would like to have a field, that would allow to link to other site pages, so I created this:
buttonlink: label: Button link type: pages query: site.index
And in template added code:
<a href="<?= $site->url() ?>/<?= $section->buttonlink() ?>"> some text </a>
But on page I get something like this:
-%20 - or more code is added.