Hi:
Support suggest this variable to get the blog post ID (as a unique identifier):
{{ content_id }}
This works great when working in the Blog Post page template.
It does not seem to work when I add it to the for content in contents loop on my Blog Listings Page template.
For example, my loop might look like this:
<!-- Start Hubspot / Hubl loop here to display blog posts -->
<div class="row">
{% for content in contents %}
<div id="{{ content_id }}" class="post_box column one_third">
<article>
<div class="box">
<div class="inside">
<div class="thumbnail">
<a href="{{content.absolute_url}}">
<img width="480" height="270" src="{{ content.featured_image }}" class="flex" alt="{{ content.featured_image_alt_text }}">
</a>
</div>
</div>
</div>
</article>
</div>
{% endfor %}
</div>
<!-- End Hubspot / Hubl loop here to display blog posts -->
Ideally, if I was showing 6 blog posts on my blog post listings page, each one would have a unique identifier set as a CSS ID by getting and printing the value of {{ content_id}} as the code implies aboves.
How can I achieve this in a for loop on my blog listings page?