From 9c2987751f522ae470fcc81f31a8c8f0e5102dca Mon Sep 17 00:00:00 2001 From: codecalm Date: Wed, 17 Aug 2022 14:24:13 +0200 Subject: eleventy test --- src/index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/index.html') diff --git a/src/index.html b/src/index.html index f8fc5f9f..91ed1b90 100644 --- a/src/index.html +++ b/src/index.html @@ -5,10 +5,10 @@ layout: default
- {% for icon in site.icons %} - {% assign name = icon.slug %} -
- {% include icon.html name=name %} + {% for icon in collections.icons %} + {% assign name = icon.fileSlug %} +
+ {% icon name %}
{% endfor %}
@@ -17,10 +17,10 @@ layout: default
- {% for icon in site.icons %} - {% assign name = icon.slug %} -
- {% include icon.html name=name stroke=1.25 %} + {% for icon in collections.icons %} + {% assign name = icon.fileSlug %} +
+ {% include "icon.html", name="name", stroke="1.25" %}
{% endfor %}
-- cgit v1.2.1