Ignore deprecated folder - closes #156

This commit is contained in:
ligi 2021-02-11 11:23:40 +01:00
parent 928c613e86
commit 0a0d299bb6
No known key found for this signature in database
GPG Key ID: 8E81894010ABF23D

View File

@ -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 %}
]