From 3ee5a83bf0f802c1816f2b94fdb174278b484018 Mon Sep 17 00:00:00 2001 From: codecalm Date: Sun, 27 Sep 2020 01:27:04 +0200 Subject: Update icons version --- src/tags.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/tags.json') diff --git a/src/tags.json b/src/tags.json index a009a1f7..cab4e929 100644 --- a/src/tags.json +++ b/src/tags.json @@ -1,5 +1,9 @@ --- --- { {% for icon in site.icons %} -{% assign slug-tags = icon.slug | split: '-' %}{% assign tags = slug-tags | concat: icon.tags %} "{{ icon.slug }}": [{% for tag in tags %}"{{ tag }}"{% unless forloop.last %}, {% endunless %}{% endfor %}]{% unless forloop.last %}, {% endunless %}{% endfor %} +{% assign slug-tags = icon.slug | split: '-' %}{% assign tags = slug-tags | concat: icon.tags %} "{{ icon.slug }}": { + "category": "{{ icon.category }}", + "tags": [{% for tag in tags %}"{{ tag }}"{% unless forloop.last %}, {% endunless %}{% endfor %}], + "version": "{{ icon.version }}" + }{% unless forloop.last %}, {% endunless %}{% endfor %} } -- cgit v1.2.1