样式布局优化
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
<header class="article-header">
|
||||
<%- partial('post/title', {class_name: 'article-title'}) %>
|
||||
<% if (!post.noDate){ %>
|
||||
<%- partial('post/date', {class_name: 'archive-article-date', date_format: null}) %>
|
||||
<%- partial('post/date', {class_name: 'archive-article-date',
|
||||
date_format: config.date_format+(post.excerpt && index ? '':' '+config.time_format)}) %>
|
||||
<% } %>
|
||||
</header>
|
||||
<% } %>
|
||||
@@ -13,8 +14,8 @@
|
||||
<%- post.excerpt %>
|
||||
<% } else { %>
|
||||
<div class="post-count">
|
||||
<div>总字数<span><%= wordcount(post.content) %></span></div>
|
||||
<div>预计阅读<span><%= min2read(post.content) %></span>分钟</div>
|
||||
<div class="count-item">总字数 <span><%= wordcount(post.content) %></span></div> |
|
||||
<div class="count-item">预计阅读时间 <span><%= min2read(post.content) %></span> 分钟</div>
|
||||
</div>
|
||||
<%- post.content %>
|
||||
<% } %>
|
||||
|
||||
@@ -1,4 +1 @@
|
||||
<%- js('js/main.47daecb9041cfca058ea.js') %>
|
||||
<%- js('js/slider.ef2aa12e396cdf8555f9.js') %>
|
||||
<%- js('js/mobile.97141e5b049f95a96735.js') %>
|
||||
<%- js('js/comment.8959a0e1c58f06787797.js') %>
|
||||
<%- js('js/mobile.97141e5b049f95a96735.js') %> <%- js('js/slider.ef2aa12e396cdf8555f9.js') %> <%- js('js/comment.e65925a3c976563ac8b7.js') %> <%- js('js/main.47daecb9041cfca058ea.js') %>
|
||||
Reference in New Issue
Block a user