You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider the following JSON: [ { "title": "My post title2", "description": "...", "imgSrc": "../../img/user-stories/rti-m.png" }, { "title": "Another post", "description": "...", "imgSrc": "some-img2.png" }, { "title": "One more post", "description": "....", "imgSrc": "some-img3.png" } ]
Now, lets say I want to include just one of the records somewhere, how can I do that? for example:
@@include('some.html', "data.json[1]")
The text was updated successfully, but these errors were encountered:
Consider the following JSON:
[ { "title": "My post title2", "description": "...", "imgSrc": "../../img/user-stories/rti-m.png" }, { "title": "Another post", "description": "...", "imgSrc": "some-img2.png" }, { "title": "One more post", "description": "....", "imgSrc": "some-img3.png" } ]
Now, lets say I want to include just one of the records somewhere, how can I do that? for example:
@@include('some.html', "data.json[1]")
The text was updated successfully, but these errors were encountered: