Hello,
I use the select field to set the favicon.
favicon:
label: Favicon
type: files
query: site.images
multiple: false
width: 1/2
<link rel="icon" type="image/png" href="<?php echo $site->favicon()->toFile() ?>">
output:
<link rel="icon" type="image/png" href="<img alt=" "="" src="http://test.local/media/site/4170490690-1553845378/favicon.png">
I tried:
<link rel="icon" type="image/png" href="<?php echo $site->favicon()->url() ?>">
output:
<link rel="icon" type="image/png" href="- favicon.png">
how to get the url without the image tag ?
greetings john