1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-31 17:42:15 +02:00

icons preview

This commit is contained in:
codecalm
2022-09-21 16:33:06 +02:00
parent 787ecc128e
commit d98d77829f

View File

@@ -14,16 +14,30 @@ layout: default
</div>
</div>
</div>
{% if jekyll.environment !== "development" %}
<div class="box">
<div class="mb">
<div class="icons-list">
{% for icon in site.icons %}
{% assign name = icon.slug %}
<div class="icons-list-icon js-icon" title="{{ icon.slug }}" data-icon="{{ name }}">
{% include_cached icon.html name=name stroke=1.25 %}
{% include_cached icon.html name=name stroke=1.5 %}
</div>
{% endfor %}
</div>
</div>
</div>
<div class="box">
<div class="mb">
<div class="icons-list">
{% for icon in site.icons %}
{% assign name = icon.slug %}
<div class="icons-list-icon js-icon" title="{{ icon.slug }}" data-icon="{{ name }}">
{% include_cached icon.html name=name stroke=1 %}
</div>
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>