19 | 文章归档 20 |
21 | 22 | <% years.forEach(function(year) { %> 23 |<%- year %>
26 |-
30 | <% posts.forEach(function(post) { %>
31 | <%if (post.date.indexOf(year) !== -1) { %>
32 |
- 33 | 34 | <%= post.title %> 35 | <%= post.dateFormat %> 36 | 37 | 38 | <% } %> 39 | <% }); %> 40 |