1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-09-02 18:33:18 +02:00

add name to tags.json

This commit is contained in:
codecalm
2022-11-03 00:43:41 +01:00
parent 52705403ec
commit 6ad39ada93

View File

@@ -1,8 +1,8 @@
---
---
{% assign common-tags = 'icon,stroke,outline' | split: ',' %}
{ {% for icon in site.icons %}
{% assign common-tags = 'icon,stroke,outline' | split: ',' %}{ {% for icon in site.icons %}
{% assign slug-tags = icon.slug | split: '-' %}{% assign tags = slug-tags | concat: icon.tags | concat: common-tags %} "{{ icon.slug }}": {
"name": "{{ icon.slug }}",
"category": "{{ icon.category }}",
"tags": ["{{ tags | join: '", "' }}"],
"version": "{{ icon.version }}",