# Latest POSTS description not showing

**URL:** <https://community.hubspot.com/t/latest-posts-description-not-showing/61368>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [July 20, 2022, 4:36pm UTC](https://community.hubspot.com/t/latest-posts-description-not-showing/61368 "2022-07-20T16:36:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CHugo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chugo/32/31851_2.png) [@CHugo](https://community.hubspot.com/u/CHugo)\
**Post date:** [July 20, 2022, 4:36pm UTC](https://community.hubspot.com/t/latest-posts-description-not-showing/61368/1 "2022-07-20T16:36:54Z")

</div>

Hello,

I have a problem with the description in mi Latest posts, there are incorects , they are not showing the actual descriptions:

> **[Resources](https://ai.reportlinker.com/resources)**
>
> Comprehensive collection of guides, webinars & articles to help you learn more about AI-powered Intelligence and automation

My code is this one:

\<ul\>  
{% set rec\_posts = blog\_recent\_posts(“default”, 3) %}  
{% for rec\_post in rec\_posts %}  
\<li\>  
\<div class=“lp-block”\>  
{% if rec\_post.featured\_image %}  
\<a class=“resource\_\_post-image”  
alt=“{{ rec\_post.featured\_image\_alt\_text }}”  
style=“background-image: url(‘{{ rec\_post.featured\_image }}’);”  
href=“{{ rec\_post.absolute\_url }}”\>  
\</a\>

{% endif %}  
{% set featured\_tag = rec\_post.topic\_list | first %}  
{% if featured\_tag %}  
\<div class=“content content-description”\>  
\<div\>  
\<span class=“keyword”\>{{ featured\_tag }}\</span\>  
{% endif %}  
\<h3\>\<a href=“{{ rec\_post.absolute\_url }}”\>{{ rec\_post.name }}\</a\>\</h3\>  
\<p class=“description”\>{{ content.meta\_description | default(content.post\_summary, true) | truncatehtml(150, ‘…’, false) }}\</p\>  
\</div\>  
\<div\>  
\<a class=“ghost-cta” href=“{{ rec\_post.absolute\_url }}”\>  
Read more  
\</a\>  
\</div\>  
\</div\>  
\</div\>  
\</li\>  
{% endfor %}  
\</ul\>

 ![Resources 2022-07-20 18-35-14.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/0/0709827c8197d02632a0c4e551d395abde9b3fc7.jpeg)

---

<div class="post-metadata">

**Author:** ![albertsg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albertsg/32/99473_2.png) [@albertsg](https://community.hubspot.com/u/albertsg)\
**Post date:** [July 21, 2022, 10:41am UTC](https://community.hubspot.com/t/latest-posts-description-not-showing/61368/2 "2022-07-21T10:41:17Z")

</div>

Hello @CHugo, the description comes from:

`<p class="description">{{ content.meta_description | default(content.post_summary, true) | truncatehtml(150, '...', false) }}</p>`

And based on your code, it should print the content.post\_summary variable unless there is a Meta Description in content.meta\_description.

Based on my experience dealing with content issues, did you by any chance clone the articles and changed everything except the meta descriptions? If that’s the case, your code might be correct but the issue lays on all posts having the same meta description. Since in your screenshot all posts have the same text, it looks like this might be the problem 🙂

If what I mentioned above is correct and you still want to keep the meta descriptions the same across blog posts, then change the code to:

`<p class="description">{{ content.post_summary | default(content.meta_description, true) | truncatehtml(150, '...', false) }}</p>`

In the code above, you will always show the post\_summary as default variable and in case this doesn’t exists, the meta description will be shown.

If none of that helps, I recommend you checking the |default filter documentation to know more about it since you might not need it or you might not need the true parameter: [HubL filters - HubSpot docs](https://developers.hubspot.com/docs/cms/hubl/filters#default)
