emencia / django-blog-lotus

A weblog application with Django.
https://django-blog-lotus.readthedocs.io/
MIT License
5 stars 1 forks source link

Article list display category part even it doesnt have category #73

Open sveetch opened 7 months ago

sveetch commented 7 months ago

Describe the bug In article list card, even if the article has no selected category, the part "In " is displayed but empty.

Environment Describe your environment:

To Reproduce Steps to reproduce the behavior:

  1. Create a new article without any selected category
  2. Go to article list
  3. The new article card display a blank "In "

Expected behavior This part should be conditioned to related categories, if article does not have any, this part should not be rendered.