Easiest Way to Make Tasty Rendang Pork / Ayam Bumbu Jadi

<% var sentences = collect(data.sentences); %>

<p>

<strong><%= data.title %></strong>.

<%= sentences.take(3).implode(' ') %>

</p>

<p>

<% if(!_.isEmpty(data.image)) %>

<imgsrc="<%= data.image %>" alt="<%= data.title %>" style="width: 100%;">

<% %>

<% _.slice(data.sentences, 5, 8).forEach(function(sentence) %>

<%= sentence %>

<% ); %>

Kamu dapat have<%= data.title %>menggunakan<%= data.ingredients.length %>bahan – bahan dan<%= data.steps.length %>langkah. Ini adalah caranya cook it.

</p>


<h3>Bahan dari<%= data.title %></h3>


<ol>

<% data.ingredients.forEach(function(ingredient) %>

<li>You need<%= ingredient.quantity %>dari<%= ingredient.name %>. </li>

<% ); %>

</ol>

<p>

<% _.slice(data.sentences, 8, 12).forEach(function(sentence) %>

<%= sentence %>

<% ); %>

</p>



<h3><%= data.title %>step by step</h3>


<ol>

<% data.steps.forEach(function(step) %>

<li>

<%= step.instruction %>.

<% console.log(step.images.length); %>

<% if(step.images.length> 0) %>

<% step.images.forEach(function(image) %>

<imgsrc="<%= image %>" alt="<%= data.title %>"><br>

<% ); %>

<% %>

</li>

<% ); %>

</ol>


<p>

<% _.slice(data.sentences, 12, 17).forEach(function(sentence) %>

<%= sentence %>

<% ); %>

</p>

Comments