create new xtblog.twig with this code
{% if 'post_count' in data.translations.t_no_entries_found %}
{{data.entries|length}}
{%else %}
{% include ('blog.twig') %}
{% endif %}
Copy code
Then BELOW your main blog use it has to be below so that blog_block_id does not get messed up if you want it above the blog you will have to fetch it from another page using xhr javascript
{{data.entries|length}}
{%else %}
{% include ('blog.twig') %}
{% endif %}
Copy code