# Blog posts with multiple tags are displaying twice on blog listing page

**URL:** <https://community.hubspot.com/t/blog-posts-with-multiple-tags-are-displaying-twice-on-blog-listing-page/66197>\
**Category:** CMS Development\
**Created:** [September 29, 2022, 6:47pm UTC](https://community.hubspot.com/t/blog-posts-with-multiple-tags-are-displaying-twice-on-blog-listing-page/66197 "2022-09-29T18:47:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![LeeBartelme](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/leebartelme/32/95647_2.png) [@LeeBartelme](https://community.hubspot.com/u/LeeBartelme)\
**Post date:** [September 29, 2022, 7:11pm UTC](https://community.hubspot.com/t/blog-posts-with-multiple-tags-are-displaying-twice-on-blog-listing-page/66197/2 "2022-09-29T19:11:06Z")

</div>

```lia-code-sample
{% for content in contents|unique %}
 {% if loop.index > 1 %}
 {% for topic in content.topic_list %}
 {% unless topic.name == 'Expert Forum Insider' %}

```

Could it be that you are looping the topic\_list here as well?

Your loop here is outputting the HTML once for each topic a content has. So if a content has 2 topics, it’ll appear twice.

---

_[View the full topic](https://community.hubspot.com/t/blog-posts-with-multiple-tags-are-displaying-twice-on-blog-listing-page/66197)._
