feat: article list increases the number of articles
This commit is contained in:
parent
954985044c
commit
ab29668c79
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue