aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/index.html b/index.html
index 1e5745b..19a642e 100644
--- a/index.html
+++ b/index.html
@@ -21,6 +21,8 @@
<div class="container">
<div class="box">
+ {% assign icons = site.icons %}
+
{% assign first-icon = site.icons | reverse | first %}
{% assign slug = first-icon.slug %}
{% capture first-icon %}
@@ -85,7 +87,7 @@
<div class="mb">
<div class="icons-list">
- {% for icon in site.icons %}
+ {% for icon in icons %}
{% assign name = icon.slug %}
<a href="#" class="icons-list-icon js-icon" title="{{ icon.slug }}" data-icon="{{ name }}">
{% include icon.html name=name %}
@@ -96,7 +98,7 @@
<div class="mb">
<div class="icons-list icons-list-squares">
- {% for icon in site.icons %}
+ {% for icon in icons %}
{% assign name = icon.slug %}
<a href="#" class="icons-list-icon js-icon" title="{{ icon.slug }}" data-icon="{{ name }}">
{% include icon.html name=name %}