mirror of
https://github.com/wahyd4/hexo-phase-junv.git
synced 2026-08-09 04:55:53 +10:00
Changes for Hexo 0.6
This commit is contained in:
@@ -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,3 +1,3 @@
|
||||
<% if (item.categories){ %>
|
||||
<% if (item.categories.length){ %>
|
||||
<div class="cats"><%- partial('taxonomy', {taxonomy: item.categories, separator: ''}) %></div>
|
||||
<% } %>
|
||||
@@ -1,3 +1,3 @@
|
||||
<% if (item.tags){ %>
|
||||
<% if (item.tags.length){ %>
|
||||
<div class="tags"><%- partial('taxonomy', {taxonomy: item.tags, separator: ''}) %></div>
|
||||
<% } %>
|
||||
Reference in New Issue
Block a user