You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a post has no featured image, there is an empty <img src=""> element in each single post. Singe.twig seems to assume there is always a featured image on a post, which is not always true. There should probably be a check on that.
The text was updated successfully, but these errors were encountered:
I feel that this sort of thing is project-specific. It's very simple to add a conditional to render this if a featured image is present or not, and as a starter theme, it does assume a featured image would be present. Similarly, it is project-specific that you may define a default featured image if one isn't selected as well as any other attr that the image may have.
When a post has no featured image, there is an empty
<img src="">
element in each single post. Singe.twig seems to assume there is always a featured image on a post, which is not always true. There should probably be a check on that.The text was updated successfully, but these errors were encountered: