summary refs log tree commit diff
path: root/snippets/Fork-Awesome-1.2.0/src/doc/_includes/icons/new.html
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/Fork-Awesome-1.2.0/src/doc/_includes/icons/new.html')
-rw-r--r--snippets/Fork-Awesome-1.2.0/src/doc/_includes/icons/new.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/snippets/Fork-Awesome-1.2.0/src/doc/_includes/icons/new.html b/snippets/Fork-Awesome-1.2.0/src/doc/_includes/icons/new.html
new file mode 100644
index 0000000..4c15e22
--- /dev/null
+++ b/snippets/Fork-Awesome-1.2.0/src/doc/_includes/icons/new.html
@@ -0,0 +1,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>