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

#13 标签

上级 58dc8e81
......@@ -3,7 +3,7 @@ favicon:
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==
order_by: date # date,-date,title,url,...
head: `<!--<script src="" async></script>-->` # 在 <head></head> 中添加自定义的内容
head: '<!--<script src="" async></script>-->' # 在 <head></head> 中添加自定义的内容
menu:
归档: archives
......
......@@ -6,6 +6,11 @@
</div>
<div class="container">
<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 %>
<% function buildArchive(posts, year) { %>
<h2><%= year %></h2>
......
......@@ -20,11 +20,13 @@
<%- page.content %>
</article>
</div>
<div class="other">
<div class="container">
<%- is_post() ? partial('_partial/post-nav') : '' %>
<% if(is_post()){ %>
<div class="other">
<div class="container">
<%- partial('_partial/post-nav') %>
</div>
</div>
</div>
<% } %>
<div class="container comment">
<%- theme.comment ? partial('_partial/_comment/' + theme.comment) : '' %>
</div>
......
......@@ -278,7 +278,7 @@ a:hover {
width: 100%;
display: flex;
justify-content: space-between;
flex-flow:row-reverse
flex-flow: row-reverse
}
.content .post-nav span {
......@@ -347,6 +347,19 @@ a:hover {
position: relative;
}
.content .tag-unordered {
word-break: break-word;
}
.content .tag-unordered .list-count::before {
content: "("
}
.content .tag-unordered .list-count::after {
content: ")"
}
.comment {
padding: 3em 1em;
}
......@@ -367,6 +380,7 @@ article p {
article a {
color: #aa874b;
word-break: break-all;
}
article > table {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册