Changes for Hexo 0.6

This commit is contained in:
Tommy Chen
2013-01-25 15:56:42 +08:00
parent 4aaf039938
commit 5fca1ead25
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -36,10 +36,10 @@ if (page.archive){
<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){ %>
<% if (item.categories.length){ %>
<span class="cats"><%- partial('post/taxonomy', {taxonomy: item.categories, separator: ', '}) %></span>
<% } %>
<% if (item.tags){ %>
<% if (item.tags.length){ %>
<span class="tags"><%- partial('post/taxonomy', {taxonomy: item.tags, separator: ', '}) %></span>
<% } %>
</footer>
+1 -1
View File
@@ -1,3 +1,3 @@
<% if (item.categories){ %>
<% if (item.categories.length){ %>
<div class="cats"><%- partial('taxonomy', {taxonomy: item.categories, separator: ''}) %></div>
<% } %>
+1 -1
View File
@@ -1,3 +1,3 @@
<% if (item.tags){ %>
<% if (item.tags.length){ %>
<div class="tags"><%- partial('taxonomy', {taxonomy: item.tags, separator: ''}) %></div>
<% } %>