diff options
author | codecalm <codecalm@gmail.com> | 2020-03-01 13:11:06 +0100 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-03-01 13:11:06 +0100 |
commit | 3d8fa31469119b0d70ebebbde39fe113c50b66f4 (patch) | |
tree | 6b34a53139fa21445f5139fe382600b36dee657d /_includes | |
parent | align fixes, ajdustment icons (diff) | |
download | tabler-icons-3d8fa31469119b0d70ebebbde39fe113c50b66f4.tar.xz |
tranding icons
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/icon.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/icon.html b/_includes/icon.html index 22834ebc..5cedcd5d 100644 --- a/_includes/icon.html +++ b/_includes/icon.html @@ -1 +1 @@ -{% assign name = include.name %}{% assign icon = site.icons | where: "slug", name | first %}{% assign content = icon.content | replace: '<svg', '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"' %}{{ content }} +{% assign name = include.name %}{% assign icon = site.icons | where: "slug", name | first %}{% assign replace-to = '<svg xmlns="http://www.w3.org/2000/svg" class="icon tabler-icon tabler-icon-ICON_NAME" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"' | replace: 'ICON_NAME', name %}{% assign content = icon.content | replace: '<svg', replace-to %}{{ content }} |