--- layout: default --- {% include setlang.html %} {% comment %} {% assign subnav = site.data[page.subnav] %} {% include linklist.html items=subnav dynamic=true %} {% if site.disqus.shortname %} {% include disqus_comments.html %} {% endif %} {% capture pills %}{% include pills.html items=page.tags %}{% endcapture %} {% include sideblock.html title=t.home_projects_expand content=pills %} {% endcomment %}
{% if paginator.total_pages > 1 %}

{{ page.title }} - {{ t.paginator_page }} {{ paginator.page }} {{t.paginator_of}} {{ paginator.total_pages }}

{% else %}

{{ page.title }}

{% endif %} {% if active_lang=='it' %} {% endif %}
{% capture categories %} {% for category in site.tags %}{{ category[0] }}:{% endfor %} {% endcapture %} {% assign categories_ = categories | strip | split: ':' %} {% if active_lang=='it' %} {% include pills.html items=categories_ small=true %} {% endif %}
{% for post in paginator.posts limit:2 %}
{% include card.html date=post.date cta=post.cta author=post.author title=post.title link=post.url text=post.subtitle hasImage=false categories=post.tags flat=false classes='h-100 d-flex align-items-start flex-column' %}
{% endfor %}
{% for post in paginator.posts offset:2 %} {% assign division_by_3 = forloop.index | modulo:3 %}
{% include card.html date=post.date author=post.author title=post.title link=post.url text=post.subtitle hasImage=false categories=post.tags flat=true cta=post.cta classes='h-100 d-flex align-items-start flex-column' %}
{% if division_by_3==0 %}
{% endif %} {% endfor %}
{% if paginator.total_pages > 1 %} {% assign division_by_page_size = paginator.total_posts | modulo:paginator.per_page %} {% assign division_by_page_size = division_by_page_size | minus:2 %} {% assign division_by_page_size = division_by_page_size | modulo:3 %} {% if paginator.page == paginator.total_pages and division_by_page_size != 0 %}
{% endif %} {% endif %}
{% include banner-joinus.html %}