I just read that 3.6. allows to bring your own favicons to the panel, yeah.
So i tried in my freshly updated Kirby 3.6.1.1.
Unfortunately the simple implementation
'panel' => [
'favicon' => 'assets/favicon.ico'
]
throws an error.
Invalid argument supplied for foreach()
in …/kirby/views/panel.php line 34
When i try the more enhanced mode with all the formats in extra arrays it works nicely:
'panel' => [
'favicon' => [
'apple-touch-icon' => [
'type' => 'image/png',
'url' => 'assets/apple-touch-icon.png',
],
'shortcut icon' => [
'type' => 'image/svg+xml',
'url' => 'assets/favicon.svg',
],
]
]
Not sure if i found a bug, but i guess …
Cheers and thanks for 3.6