Fixed wrong url of archive page

This commit is contained in:
Tommy Chen
2012-12-07 17:59:22 +08:00
parent fe08efc771
commit 996a1920bc
+1 -1
View File
@@ -33,7 +33,7 @@ if (page.archive){
</section><section class="archives"><div class="year"><%= year %></div>
<% } %>
<article class="archive">
<h1 class="title"><a href="<%- config.root %><%- item.permalink %>"><%= item.title %></a></h1>
<h1 class="title"><a href="<%- config.root %><%- item.path %>"><%= item.title %></a></h1>
<footer>
<time datetime="<%= item.date.toDate().toISOString() %>"><%= item.date.format('MMM D') %></time>
<% if (item.categories){ %>