aboutsummaryrefslogtreecommitdiff
path: root/src/_includes/icon.html
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2022-08-18 13:59:03 +0200
committercodecalm <codecalm@gmail.com>2022-08-18 13:59:03 +0200
commit7ee6ac51c0a003b46307d6ec92ef9d4432a16590 (patch)
tree0d5aa4ac20693991d273f4115dbb37aef1e5631c /src/_includes/icon.html
parent`tags.json` build (diff)
downloadtabler-icons-dev-e11ty.tar.xz
e11ty testdev-e11ty
Diffstat (limited to 'src/_includes/icon.html')
-rw-r--r--src/_includes/icon.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/_includes/icon.html b/src/_includes/icon.html
index ced25557..c63e6476 100644
--- a/src/_includes/icon.html
+++ b/src/_includes/icon.html
@@ -1,8 +1,9 @@
{% assign stroke = include.stroke | default: 2 %}{% assign width = 24 %}{% assign name = include.name %}{% assign icon = site.icons | where: "slug", name | first %}{% capture replace-to %}<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-{{ name }}" width="{{ width }}" height="{{ width }}" viewBox="0 0 24 24" stroke-width="{{ stroke }}" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>{% endcapture %}{% assign content = icon.content | replace: '<svg>', replace-to %}{{ content }}
-{{ name }}
-{{ params.name }}
-{{ include.name }}
-{{ includes.name }}
-{{ include.stroke }}
-{{ params.stroke }}
+1{{ name }}
+1{{ er }}
+2{{ params.name }}
+3{{ include.name }}
+4{{ includes.name }}
+5{{ include.stroke }}
+6{{ params.stroke }}