[BUG] Posts without placeholder image don't render correctly in template
Closed this issue · 1 comments
alexkisielewicz commented
Describe the bug
Bootstrap cards for posts without uploaded images are not displayed correctly.
To Reproduce
Steps to reproduce the behavior:
- Go to 'index page'
- Scroll down to section 'Top 3 liked posts'
- See error
Simillar code is used for user dashboard in user_account.html
alexkisielewicz commented
Bug fixed by adding if-else statement to display placeholder if featured_image is not available.