From 6d6dad23491b88121f888a1a4767d826f04c3eb8 Mon Sep 17 00:00:00 2001
From: nietonfir
Date: Thu, 25 May 2017 22:23:06 +0200
Subject: [PATCH] Create a javascript array in an iffy containing all the icon
names
---
index.html | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/index.html b/index.html
index bafe7cfe..3e581576 100644
--- a/index.html
+++ b/index.html
@@ -410,5 +410,19 @@
Use GitHub for requests, corrections and contributions.
Share this on Twitter!
+ {% assign allIconNames = "" %}
+ {% for icon in iconsArray %}
+ {% assign iconArray = icon | split: "," %}
+ {% capture allIconNames %}{{ allIconNames }}"{{ iconArray[3] }}",{% endcapture %}
+ {% endfor %}
+ {% for icon in greyscaleIconsArray %}
+ {% assign iconArray = icon | split: "," %}
+ {% capture allIconNames %}{{ allIconNames }}"{{ iconArray[1] }}"{% unless forloop.last %},{% endunless %}{% endcapture %}
+ {% endfor %}
+