Supose我有這個簡單但還算嵌套生態模板移除不必要的空格: <div class="example">
<% for thing, i in @things: %>
<div class="nested">
<% if i % 2 == 0: %>
This block is fairly nested.
<% end %>
</
我試圖使用嵌套,如果在生態模板。這裏是我的代碼 <% for document in @getCollection('posts').toJSON()[@[email protected]]: %>
<% if true %>
<p> <%= new Date(document.date.toDateString()).getTime() <= new D