From 0a0d299bb68bdbaa036092235231fe5becef00f3 Mon Sep 17 00:00:00 2001 From: ligi Date: Thu, 11 Feb 2021 11:23:40 +0100 Subject: [PATCH] Ignore deprecated folder - closes #156 --- chains.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chains.json b/chains.json index d4cf0777..9c454546 100644 --- a/chains.json +++ b/chains.json @@ -2,7 +2,7 @@ layout: none permalink: chains.json --- -[{% assign chains = site.data.chains | sort %}{% for json in chains %}{% assign chain = json[1] %} +[{% assign chains = site.data.chains | sort %}{% for json in chains %}{% if json[0] != "deprecated" %}{% assign chain = json[1] %} { "name": "{{ chain.name }}", "chainId": {{ chain.chainId }}, @@ -14,5 +14,5 @@ permalink: chains.json "rpc": [{% for rpc in chain.rpc %}"{{ rpc }}"{% unless forloop.last %},{% endunless %}{%endfor%}], "faucets": [{% for faucet in chain.faucets %}"{{ faucet }}"{% unless forloop.last %},{% endunless %}{%endfor%}], "infoURL": "{{ chain.infoURL }}" - }{% unless forloop.last %},{% endunless %}{% endfor %} + }{% unless forloop.last %},{% endunless %}{% endif %}{% endfor %} ]