Skip to content
This repository was archived by the owner on Apr 7, 2019. It is now read-only.

Commit d22898e

Browse files
committed
Remove mustache oriented data from data.json
The array with empty nodes strategy does not work in Twig the way it does with Mustach (i.e. iterate over the nodes in the array). A `for` loop can be used for that.
1 parent ae443e4 commit d22898e

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

dist/_data/data.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,5 @@
7777
"last-name": "Name"
7878
},
7979
"hero": true,
80-
"emergency" : false,
81-
"touts" : [
82-
{ },
83-
{ },
84-
{ }
85-
],
86-
"latest-posts" : [
87-
{ },
88-
{ },
89-
{ },
90-
{ },
91-
{ }
92-
]
93-
}
80+
"emergency" : false
81+
}

0 commit comments

Comments
 (0)