Skip to content

Commit

Permalink
estabelecimentos agora é um array (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus-vieira authored Feb 1, 2023
1 parent da204f2 commit c3df770
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions assets/json/estabelecimento.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ permalink: /assets/json/estabelecimentos.json
layout: compress
---

{
[
{% for est in site.estabelecimentos %}
{{ est.nome | jsonify }}:
{% include estabelecimento.json id=forloop.index est=est %}
{% if forloop.last == false %},{% endif %}
{% include estabelecimento.json id=forloop.index est=est %}{% if forloop.last == false %},{% endif %}
{% endfor %}
}
]

0 comments on commit c3df770

Please sign in to comment.