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:
@@ -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 }}",
|
||||
|
Reference in New Issue
Block a user