{% if paginator %}
{% for post in paginator.posts %}
{% include post_list_item.html %}
{% endfor %}
{% else %}
{% for post in site.posts %}
{% if post.tags or post.category %}
{% include post_list_item.html %}
{% assign displayPagi = true %}
{% endif %}
{% endfor %}
{% endif %}
{% if displayPagi or paginator %}
{% if paginator.total_pages > 1 %}