nephila / djangocms-blog

django CMS blog application - Support for multilingual posts, placeholders, social network meta tags and configurable apphooks
https://djangocms-blog.readthedocs.io
BSD 3-Clause "New" or "Revised" License
403 stars 190 forks source link

Markup of Category and Tag Links Have Incomplete Class #710

Closed wesleyboar closed 1 year ago

wesleyboar commented 1 year ago

Description

The blog_meta.html template does not create complete classnames for tags nor categories.

Steps to reproduce

  1. Have app with Django CMS Blog installed properly.
  2. Create a post, with a category "C Test", and a tag "T Test".
  3. View the post.
  4. Inspect the markup of the post.

Versions

Software Version
Python 3.8
Django 2.2.27
Django CMS 3.7.4
Django CMS Blog 1.1.1

Expected behaviour

On each <a> within the <ul> of categories and tags, there are either of these classes:

The {{ category.count }} and {{ tag.count }} render something.

Actual behaviour

On each <a> within the <ul> of categories and tags, there are either of these classes:

The {{ category.count }} and {{ tag.count }} render nothing.

Additional information

Possible Fixes: