Skip to content

Commit

Permalink
remove advertisement in svg output tabler#245
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Jun 14, 2022
1 parent 64532fe commit ff29443
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/_includes/icon.html
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit ff29443

Please sign in to comment.