-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
35 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
<div class="nexmoe-post-meta nexmoe-rainbow"> | ||
<a><i class="nexmoefont icon-calendar-fill"></i><%- date(page.date, "YYYY年MM月DD日") %></a> | ||
<% if (page.categories && page.categories.length){ %> | ||
<%- list_categories(page.categories, { | ||
show_count: false, | ||
class: 'nexmoefont icon-appstore-fill ', | ||
style: 'none', | ||
separator: '' | ||
}) %> | ||
<div class="nexmoe-post-meta"> | ||
<div class="nexmoe-rainbow"> | ||
<a><i class="nexmoefont icon-calendar-fill"></i><%- date(page.date, "YYYY年MM月DD日") %></a> | ||
<% if (page.categories && page.categories.length){ %> | ||
<%- list_categories(page.categories, { | ||
show_count: false, | ||
class: 'nexmoefont icon-appstore-fill ', | ||
style: 'none', | ||
separator: '' | ||
}) %> | ||
<% } %> | ||
<%- partial('_partial/_post/word-count', {post: page}) %> | ||
</div> | ||
|
||
<% if (page.wechat){ %> | ||
<a class="wechat" href="<%- page.wechat %>" target="_blank"><i class="nexmoefont icon-wechat-fill"></i>微信</a> | ||
<% } %> | ||
<% if (page.zhihu){ %> | ||
<a class="zhihu" href="<%- page.zhihu %>" target="_blank"><i class="nexmoefont icon-zhihu"></i>知乎</a> | ||
<% } %> | ||
<%- partial('_partial/_post/word-count', {post: page}) %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters