diff options
author | codecalm <codecalm@gmail.com> | 2020-03-09 22:04:18 +0100 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-03-09 22:04:18 +0100 |
commit | 13dc327e8e61ac61bf2fbc75cbefd316412cb9e5 (patch) | |
tree | 01a5a727481e76bdd5ec3bb8deb4d9e4d0fcb672 /src/_includes | |
parent | crop, copyright, rotate (diff) | |
download | tabler-icons-13dc327e8e61ac61bf2fbc75cbefd316412cb9e5.tar.xz |
folder clean
Diffstat (limited to 'src/_includes')
-rw-r--r-- | src/_includes/icon.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/_includes/icon.html b/src/_includes/icon.html new file mode 100644 index 00000000..ff567c71 --- /dev/null +++ b/src/_includes/icon.html @@ -0,0 +1 @@ +{% 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 tabler-icon tabler-icon-{{ 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 }} |