From c3df7704e64664d2111e144bb5657d02874cc111 Mon Sep 17 00:00:00 2001 From: Matheus Costa Vieira Date: Wed, 1 Feb 2023 15:28:18 -0300 Subject: [PATCH] =?UTF-8?q?estabelecimentos=20agora=20=C3=A9=20um=20array?= =?UTF-8?q?=20(#4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/json/estabelecimento.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/assets/json/estabelecimento.json b/assets/json/estabelecimento.json index e2e47ea..7529b44 100644 --- a/assets/json/estabelecimento.json +++ b/assets/json/estabelecimento.json @@ -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 %} -} \ No newline at end of file +] \ No newline at end of file