feat: article list increases the number of articles

This commit is contained in:
XPoet 2020-09-02 12:12:40 +08:00
parent 954985044c
commit ab29668c79
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
<section class="archive-item"> <section class="archive-item">
<div class="archive-item-header"> <div class="archive-item-header">
<span class="archive-year"><%= postYear.year %></span> <span class="archive-year"><%= postYear.year %></span>
<span class="archive-year-post-count">[<%= postYear.postList.length %>]</span>
</div> </div>
<ul class="article-list"> <ul class="article-list">
<% postYear.postList.forEach(post => { %> <% postYear.postList.forEach(post => { %>
@ -17,4 +18,4 @@
</ul> </ul>
</section> </section>
<% }) %> <% }) %>
</div> </div>