mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-09-02 18:33:18 +02:00
icons dist
This commit is contained in:
@@ -3,6 +3,13 @@ plugins:
|
|||||||
|
|
||||||
exclude:
|
exclude:
|
||||||
- .idea/*
|
- .idea/*
|
||||||
|
- package.json
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
- scope:
|
||||||
|
type: "icons"
|
||||||
|
values:
|
||||||
|
layout: icon
|
||||||
|
|
||||||
collections:
|
collections:
|
||||||
icons:
|
icons:
|
||||||
|
@@ -1,6 +1 @@
|
|||||||
{% assign name = include.name %}
|
{% 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 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 }}
|
|
||||||
|
3
_layouts/icon.html
Normal file
3
_layouts/icon.html
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
---
|
||||||
|
{% include icon.html name=page.slug %}
|
@@ -8,7 +8,7 @@
|
|||||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ site.baseurl }}/assets/style.css">
|
<link rel="stylesheet" href="{{ site.baseurl }}/style.css">
|
||||||
<title>Tabler Icons</title>
|
<title>Tabler Icons</title>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
Reference in New Issue
Block a user