aboutsummaryrefslogtreecommitdiff
path: root/src/_includes/icon.html
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2022-04-27 12:04:45 +0200
committercodecalm <codecalm@gmail.com>2022-04-27 12:04:45 +0200
commit596547f06749698b37ab8dfafc2a17b19a81f74f (patch)
treecce65bdd93a3ee2e30a9c713a878c6c856038927 /src/_includes/icon.html
parentRelease 1.67.0 (diff)
downloadtabler-icons-596547f06749698b37ab8dfafc2a17b19a81f74f.tar.xz
icons description
Diffstat (limited to 'src/_includes/icon.html')
-rw-r--r--src/_includes/icon.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/_includes/icon.html b/src/_includes/icon.html
index 89bd3c60..f5ade438 100644
--- a/src/_includes/icon.html
+++ b/src/_includes/icon.html
@@ -1,2 +1,3 @@
{% 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">
+ <desc>Download more icon variants from https://tabler-icons.io/i/{{ name }}</desc>
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>{% endcapture %}{% assign content = icon.content | replace: '<svg>', replace-to %}{{ content }}