hexo/themes/Klise/layout/category.ejs

19 lines
378 B
Plaintext

<div id="category">
<h1><%=page.category%></h1>
<% page.posts.each(article => { %>
<div class="category-item">
<a href="<%=url_for(article.path)%>">
<%=article.title%>
</a>
<time datetime="<%=date_xml(article.date)%>">
<%=date(article.date)%>
</time>
</div>
<% }); %>
</div>
<div id="paginator">
<%-paginator()%>
</div>