mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-09-03 10:53:47 +02:00
add name to tags.json
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
---
|
---
|
||||||
{% assign common-tags = 'icon,stroke,outline' | split: ',' %}
|
{% assign common-tags = 'icon,stroke,outline' | split: ',' %}{ {% for icon in site.icons %}
|
||||||
{ {% for icon in site.icons %}
|
|
||||||
{% assign slug-tags = icon.slug | split: '-' %}{% assign tags = slug-tags | concat: icon.tags | concat: common-tags %} "{{ icon.slug }}": {
|
{% assign slug-tags = icon.slug | split: '-' %}{% assign tags = slug-tags | concat: icon.tags | concat: common-tags %} "{{ icon.slug }}": {
|
||||||
|
"name": "{{ icon.slug }}",
|
||||||
"category": "{{ icon.category }}",
|
"category": "{{ icon.category }}",
|
||||||
"tags": ["{{ tags | join: '", "' }}"],
|
"tags": ["{{ tags | join: '", "' }}"],
|
||||||
"version": "{{ icon.version }}",
|
"version": "{{ icon.version }}",
|
||||||
|
Reference in New Issue
Block a user