Hello guys! How are you?
I’m working on getting data from a Blog Listing Module to a Webpage, actually the module if working smoothly on the Blog Templates but i can’t make it work on Website Pages. On the Blogs its works like you can see on the attatched photo.
But on the website pages but it doesn’t show. As you can see in the next photo. It should be available on the section marked with a red rectangle.
The layout that is not being viewed is the next one:
<section class="hs-blog-post-listing hs-blog-post-listing--{{ layout }}">
{% for content in contents %}
{# Blog listing article #}
<article
class="hs-blog-post-listing__post hs-blog-post-listing__post--{{ layout }} {{ "hs-blog-post-listing__post--{{ columns }}" if has_columns }}"
{% if has_full_image and content.featured_image %}
style="background-image: url({{ content.featured_image }});"
{% endif %}
aria-label="{{ module.default_text.full_blog_post_summary_text }}"
>
{# Adds a wrapper for an overlay if full image is enabled #}
{% if has_full_image and content.featured_image %}
<div class="hs-blog-post-listing__post-inner-wrapper">
{% endif %}
{# Post image #}
{% if not has_alternate_image or loop.index is not divisibleby 2 %}
{{ post_image("left") }}
{% elif has_alternate_image and loop.index is divisibleby 2 %}
{{ post_image("right") }}
{% endif %}
{# Article content #}
{{ post_content() }}
{# Adds a wrapper for an overlay if full image is enabled #}
{% if has_full_image and content.featured_image %}
</div>
{% endif %}
</article>
{% endfor %}
</section>
Thanks guys!

