Display new icons since last minor version

This commit is contained in:
Julien Deswaef 2020-06-24 13:11:40 +02:00
parent 3d167d3ca7
commit 9e10cc3648

View File

@ -1,5 +1,5 @@
<section id="new"> <section id="new">
{% assign version = 1.0 %} {% assign version = site.forkawesome.minor_version %}
{% assign icons_new = icons | where_exp:"icon", "icon.created >= version" | sort_by:'class' %} {% assign icons_new = icons | where_exp:"icon", "icon.created >= version" | sort_by:'class' %}
<h2 class="page-header">{{ icons_new | size }} New Icons since {{ version }}</h2> <h2 class="page-header">{{ icons_new | size }} New Icons since {{ version }}</h2>