summaryrefslogtreecommitdiff
path: root/snippets/Fork-Awesome-1.2.0/src/doc/_includes/icons/new.html
blob: 4c15e22d3e75d33fc8d7f9f8b6918ee2fd75e461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<section id="new">
  {% assign version = site.forkawesome.minor_version %}
  {% 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>
  {% if page.navbar_active != "icons" %}
    <div class="margin-botom-large">
      You asked, {{ site.forkawesome.name }} delivers with {{ icons_new | size }} shiny new icons in version {{ version }}.
      Want to request new icons? <a href="{{ page.relative_path }}community/#requesting-new-icons">Here's how</a>.
    </div>
  {% endif %}

  <div class="row fontawesome-icon-list">
    {% for icon in icons_new %}
      <div class="fa-hover col-md-3 col-sm-4"><a href="{{ page.relative_path }}icon/{{ icon.id }}"><i class="fa fa-{{ icon.class }}" aria-hidden="true"></i> <span class="sr-only">Example of </span>{{ icon.class }}{% if icon.alias_of %} <span class="text-muted">(alias)</span>{% endif %}</a></div>
    {% endfor %}
  </div>

</section>