in the blog example (demo or starterkit), if deselecting/removing a cover image, it is still sourced from Images and rendered in template
the first image is sourced even its not selected as cover
even when dumping $page->cover() it is poiting to image file, so its not a matter of the template
So to check for cover isEmpty is not possible without an additional field
To Reproduce
Steps to reproduce the behavior:
see above
Expected behavior
should not render in template if no cover is selected
Describe the bug
in the blog example (demo or starterkit), if deselecting/removing a cover image, it is still sourced from Images and rendered in template the first image is sourced even its not selected as cover even when dumping $page->cover() it is poiting to image file, so its not a matter of the template So to check for cover isEmpty is not possible without an additional field
To Reproduce
Steps to reproduce the behavior: see above
Expected behavior
should not render in template if no cover is selected
Screenshots
Kirby Version
3.5.1