添加主题自定义配置参数
This commit is contained in:
+3
-1
@@ -57,7 +57,9 @@
|
||||
<li class="list-group-item title">
|
||||
<div class="date"><%= post.dateFormat %></div>
|
||||
<a href="<%= post.link %>" target="_self"><%= post.title %></a>
|
||||
<div class="word-count"><%= post.stats.words %>字</div>
|
||||
<% if (site.customConfig.wordcount) { %>
|
||||
<div class="word-count"><%= post.stats.words %>字</div>
|
||||
<% } %>
|
||||
</li>
|
||||
<% }); %>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user