From d96c9230b60576eac4f58fc8c948b9d6b900018b Mon Sep 17 00:00:00 2001 From: codecalm Date: Fri, 28 Feb 2020 13:23:23 +0100 Subject: icons --- index.html | 59 ++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 42 insertions(+), 17 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 24421652..4e298add 100644 --- a/index.html +++ b/index.html @@ -10,14 +10,21 @@ Tabler Icons + +
- {% assign last-icon = site.icons | sort: date | reverse | first %} - {% capture last-icon %} - {% include icon.html name=last-icon.slug %} + {% assign first-icon = site.icons | reverse | first %} + {% assign slug = first-icon.slug %} + {% capture first-icon %} + {% include icon.html name=slug %} {% endcapture %}
@@ -25,47 +32,49 @@
- {{ last-icon }} + {{ first-icon }}
+

{{ slug }}

+
- {{ last-icon }} + {{ first-icon }}
- {{ last-icon }} + {{ first-icon }}
-
{{ last-icon }}
-
{{ last-icon }}
+
{{ first-icon }}
+
{{ first-icon }}
@@ -74,8 +83,8 @@
{% for icon in site.icons %} - - {% assign name = icon.slug %} + {% assign name = icon.slug %} + {% include icon.html name=name %} {% endfor %} @@ -86,10 +95,26 @@ -- cgit v1.2.1