---
layout: default
---

{% include setlang.html %}

{% comment %}
{% include breadcrumbs.html %}
{% include share.html %}
{% assign subnav = site.data[page.subnav] %}
{% include linklist.html items=subnav dynamic=true %}
{% endcomment %}

{% assign recent_sw = site.data.crawler.software | sort: "publiccode.releaseDate" | reverse | slice: 0, 4 %}
{% assign efficient_pas = site.data.crawler.software | where_exp: "item", "item.publiccode.it.riuso.codiceIPA != nil" | group_by: "publiccode.it.riuso.codiceIPA" | sort: "size" | reverse | slice: 0, 4 %}

<div class="container">
  <div class="intro mt-5">
    <h1>{{ page.title }}</h1>
    <div class="row mb-2 mb-md-4">
      <div class="col-md-6">
        <h2 class="subtitle">{{ page.subtitle }}</h2>
      </div>
      <div class="col-md-5 offset-md-1 py-2 py-md-2 my-2 my-md-0">
        {{ content }}
      </div>
    </div>
  </div>
</div>

{% include banner-pnrr.html extraclass="overflow-x-hidden pt-3 px-4" %}

{% if page.pair-blocks!=nil%}
{% include sw-pair-blocks.html blocks=page.pair-blocks %}
{% endif %}

<div class="container page-softwares-list">
  {% assign vitality_sw_url = "/" | append: active_lang | append: "/search?sort_by=vitality" | escape %}
  {% assign recent_sw_url = "/" | append: active_lang | append: "/search?sort_by=release_date" | escape %}

  {% if recent_sw.size > 0 %}
  <div class="container list-item-sorting">
    <div class="software_macro_category_title row">
      <div class="col-md-9">
        <h2>{{ t.software.recent_software }}</h2>
      </div>

      <div class="col-md-3 how">
        <a href="{{ recent_sw_url }}">{{ t.software.show_all }}
          &rarr;</a>
      </div>

    </div>
    <div class="row row-eq-height">
      {% include software-listing.html
      scope="recent"
      items=recent_sw
      show_type=false
      %}
    </div>
  </div>
  {% endif %}

  {% if efficient_pas.size > 0 %}
  <div class="container list-item-sorting">
    <div class="software_macro_category_title row">
      <div class="col-md-9">
        <h2>{{ t.software.pa_most_active }}</h2>
      </div>

      <div class="col-md-3 how">
        <a href="/{{ active_lang }}/pa">{{ t.software.show_all }}
          &rarr;</a>
      </div>
    </div>
    <div class="row row-eq-height">
      {% include pa-listing.html
      items=efficient_pas
      show_type=false
      %}
    </div>
  </div>
  {% endif %}

</div>
