aboutsummaryrefslogtreecommitdiff
path: root/src/_includes
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2022-06-14 23:19:47 +0200
committercodecalm <codecalm@gmail.com>2022-06-14 23:19:47 +0200
commitff294434d016bf1e78ff404d64c9c37bab2bde49 (patch)
tree34356637cfbf50a4cd008c0205645dfec01e72b7 /src/_includes
parent20 new icons: `alphabet-cyrillic`, `alphabet-greek`, `alphabet-latin`, `artic... (diff)
downloadtabler-icons-ff294434d016bf1e78ff404d64c9c37bab2bde49.tar.xz
remove advertisement in svg output #245
Diffstat (limited to 'src/_includes')
-rw-r--r--src/_includes/icon.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/_includes/icon.html b/src/_includes/icon.html
index f5ade438..89bd3c60 100644
--- a/src/_includes/icon.html
+++ b/src/_includes/icon.html
@@ -1,3 +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">
- <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 }}