{% assign software = site.software | where_exp: "item", "item.repo_url != nil" %} {% assign featured_software = software | where_exp: "item", "item.feature_with_priority != nil" | sort: 'feature_with_priority' %} {% assign num_software = software | size %} {% assign num_featured_software = featured_software | size %} {% if num_featured_software > 0 %} {% assign software = featured_software %} {% endif %} {% assign specs = site.specs | where_exp: "item", "item.source_url != nil" %} {% assign featured_specs = specs | where_exp: "item", "item.feature_with_priority != nil" | sort: 'feature_with_priority' %} {% assign num_specs = specs | size %} {% assign num_featured_specs = featured_specs | size %} {% if num_featured_specs > 0 %} [% assign specs = featured_specs %} {% endif %} {% assign posts = site.posts %} {% assign num_posts = site.posts | size %} {% assign num_top_items = num_software + num_posts %} {% if num_specs > 0 %}

Open Specifications

{% for item in specs | limit: site.num_featured_specs %}

{{ item.title }}

{{ item.description }}

{% endfor %}
{% endif %}