添加主题自定义配置参数
This commit is contained in:
+8
-4
@@ -16,16 +16,20 @@
|
||||
<ul class="list-group">
|
||||
<% posts.forEach(function(post) { %>
|
||||
<li class="list-group-item title"><a href="<%= post.link %>" target="_self"><%= post.title %></a>
|
||||
<div class="word-count2"><%= post.stats.words %>字</div>
|
||||
<% if (site.customConfig.wordcount) { %>
|
||||
<div class="word-count2"><%= post.stats.words %>字</div>
|
||||
<% } %>
|
||||
<div class="date" style="color:darkgray;font-size:80%"><%= post.dateFormat %></div>
|
||||
</li>
|
||||
<% }); %>
|
||||
</ul>
|
||||
<h3> </h3>
|
||||
<%- include('./_blocks/pagination') %>
|
||||
<div style="text-align: right;">
|
||||
↶ <a href="/tags/">标签云</a>
|
||||
</div>
|
||||
<% if (site.customConfig.homeback) { %>
|
||||
<div style="text-align: right;">
|
||||
↶ <a href="/tags/">标签云</a>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user