{% if isPreview %}
{% endif %} {% if currentWidget.isAllowShowContent() and currentWidget.getPaginator().getTotalItemCount() > 0 %}
{% for post in currentWidget.getPaginator().getCurrentItems() %}
{% if currentWidget.properties.layout.elements.post.children.image.visible and post.properties.feature_media.src and post.properties.feature_media.type == 'image' %}
{% endif %}
{% if currentWidget.properties.layout.elements.post.children.content.children.date.visible or currentWidget.properties.layout.elements.post.children.content.children.author.visible %}
{% if currentWidget.properties.layout.elements.post.children.content.children.date.visible %}
{% if isServer %} {{ widget(currentWidget.getInnerWidget("blog.post_published_on"), {"currentPage": post}) }} {% else %} {% widget currentWidget.getInnerWidget("blog.post_published_on", {"currentPage": post}) %}{% endWidget %} {% endif %}
{% endif %} {% if currentWidget.properties.layout.elements.post.children.content.children.author.visible %}
{% if isServer %} {{ widget(currentWidget.getInnerWidget("blog.post_author"), {"currentPage": post}) }} {% else %} {% widget currentWidget.getInnerWidget("blog.post_author", {"currentPage": post}) %}{% endWidget %} {% endif %}
{% endif %}
{% endif %} {% if currentWidget.properties.layout.elements.post.children.content.children.description.visible %}
{% filter page_html_content(post, post.type ~ ':short_description') %} {% include template_from_string(post.short_description) %} {% endfilter %}
{% endif %} {% if currentWidget.properties.layout.elements.post.children.content.children.button.visible %} {% if isServer %} {{ widget(currentWidget.getInnerWidget("button", post)) }} {% else %} {% widget currentWidget.getInnerWidget("button", {"currentPage": post}) %}{% endWidget %} {% endif %} {% endif %}
{% endfor %}
{% set PaginatorPages = currentWidget.getPaginatorPages() %} {% if PaginatorPages.pageCount > 1 and currentWidget.properties.layout.elements.pagination.visible %}
{% if PaginatorPages.first != PaginatorPages.current %} {% endif %} {% if PaginatorPages.last != PaginatorPages.current %} {% endif %}
{% endif %} {% elseif isPreview %}
{% endif %}