You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
838 B
35 lines
838 B
|
|
<%
|
|
var title = '';
|
|
if (page.category) title = page.category;
|
|
if (page.tag) title = page.tag;
|
|
if (page.archive){
|
|
if (page.year) title = page.year + (page.month ? '/' + page.month : '');
|
|
else title = "Archives";
|
|
}
|
|
%>
|
|
<% if(title) { %>
|
|
<h3>Posts Related to — <%- title %></h3>
|
|
<% } %>
|
|
<% page.posts.each(function(item){ %>
|
|
|
|
<article>
|
|
<div class="row">
|
|
|
|
<div class="three columns left lit">
|
|
<p class="bottom"><%- full_date(item.date, 'll') %></p>
|
|
</div>
|
|
<div class="nine columns left mb-3">
|
|
<a href="<%- url_for(item.path) %>">
|
|
<% if (item.title == "") { %>
|
|
no title
|
|
<% } else { %>
|
|
<%- item.title %>
|
|
<% } %>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
|
|
<% }); %>
|
|
<%- partial('partial/pagination') %>
|