aboutsummaryrefslogtreecommitdiff
path: root/src/_includes
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-21 12:16:18 +0100
committercodecalm <codecalm@gmail.com>2020-03-21 12:16:18 +0100
commitd6df9fa7c4ca1b0b6599f7338b5af9afd643bfed (patch)
tree03aad476ed8fd2492aa4c25a2c8fd2ccf71fd0d1 /src/_includes
parentzip task (diff)
parentnew icons png (diff)
downloadtabler-icons-d6df9fa7c4ca1b0b6599f7338b5af9afd643bfed.tar.xz
Merge branches 'dev' and 'master' of https://github.com/tabler/tabler-icons into dev
Diffstat (limited to 'src/_includes')
-rw-r--r--src/_includes/icon.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/_includes/icon.html b/src/_includes/icon.html
index a481f4d2..25ec600d 100644
--- a/src/_includes/icon.html
+++ b/src/_includes/icon.html
@@ -1 +1,2 @@
-{% 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">{% endcapture %}{% assign content = icon.content | replace: '<svg>', replace-to %}{{ content }}
+{% 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">
+ <rect x="0" y="0" width="24" height="24" stroke="none"></rect>{% endcapture %}{% assign content = icon.content | replace: '<svg>', replace-to %}{{ content }}