提交 23161519 编写于 作者: 折影轻梦

#13 标签

上级 58dc8e81
...@@ -3,7 +3,7 @@ favicon: ...@@ -3,7 +3,7 @@ favicon:
type: image/x-icon # 图标类型,可能的值有(image/png, image/vnd.microsoft.icon, image/x-icon, image/gif) type: image/x-icon # 图标类型,可能的值有(image/png, image/vnd.microsoft.icon, image/x-icon, image/gif)
search: https://cn.bing.com/search?q= # https://www.google.com/search?q== search: https://cn.bing.com/search?q= # https://www.google.com/search?q==
order_by: date # date,-date,title,url,... order_by: date # date,-date,title,url,...
head: `<!--<script src="" async></script>-->` # 在 <head></head> 中添加自定义的内容 head: '<!--<script src="" async></script>-->' # 在 <head></head> 中添加自定义的内容
menu: menu:
归档: archives 归档: archives
......
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
</div> </div>
<div class="container"> <div class="container">
<article class="post"> <article class="post">
<%- list_tags({
show_count: true,
style: "unordered list",
separator: ", "
}) %>
<% // 参考:https://github.com/SukkaW/hexo-theme-suka/blob/master/layout/_pages/archive.ejs %> <% // 参考:https://github.com/SukkaW/hexo-theme-suka/blob/master/layout/_pages/archive.ejs %>
<% function buildArchive(posts, year) { %> <% function buildArchive(posts, year) { %>
<h2><%= year %></h2> <h2><%= year %></h2>
......
...@@ -20,11 +20,13 @@ ...@@ -20,11 +20,13 @@
<%- page.content %> <%- page.content %>
</article> </article>
</div> </div>
<div class="other"> <% if(is_post()){ %>
<div class="container"> <div class="other">
<%- is_post() ? partial('_partial/post-nav') : '' %> <div class="container">
<%- partial('_partial/post-nav') %>
</div>
</div> </div>
</div> <% } %>
<div class="container comment"> <div class="container comment">
<%- theme.comment ? partial('_partial/_comment/' + theme.comment) : '' %> <%- theme.comment ? partial('_partial/_comment/' + theme.comment) : '' %>
</div> </div>
......
...@@ -278,7 +278,7 @@ a:hover { ...@@ -278,7 +278,7 @@ a:hover {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
flex-flow:row-reverse flex-flow: row-reverse
} }
.content .post-nav span { .content .post-nav span {
...@@ -347,6 +347,19 @@ a:hover { ...@@ -347,6 +347,19 @@ a:hover {
position: relative; position: relative;
} }
.content .tag-unordered {
word-break: break-word;
}
.content .tag-unordered .list-count::before {
content: "("
}
.content .tag-unordered .list-count::after {
content: ")"
}
.comment { .comment {
padding: 3em 1em; padding: 3em 1em;
} }
...@@ -367,6 +380,7 @@ article p { ...@@ -367,6 +380,7 @@ article p {
article a { article a {
color: #aa874b; color: #aa874b;
word-break: break-all;
} }
article > table { article > table {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册