diff --git a/layout/_partial/main/article/references.ejs b/layout/_partial/main/article/article_footer.ejs
similarity index 100%
rename from layout/_partial/main/article/references.ejs
rename to layout/_partial/main/article/article_footer.ejs
diff --git a/layout/post.ejs b/layout/post.ejs
index 34041c3..3c8e48e 100755
--- a/layout/post.ejs
+++ b/layout/post.ejs
@@ -19,7 +19,7 @@ function layoutTitle() {
<%- layoutTitle() %>
<%- post.content %>
-<%- partial('_partial/main/article/references') %>
+<%- partial('_partial/main/article/article_footer') %>
<%- partial('_partial/main/article/read_next') %>
<%- partial('_partial/main/article/related_posts') %>
diff --git a/layout/wiki.ejs b/layout/wiki.ejs
index 2ac1294..1faa23f 100755
--- a/layout/wiki.ejs
+++ b/layout/wiki.ejs
@@ -29,7 +29,7 @@ function layoutTitle() {
<%- layoutTitle() %>
<%- page.content %>
- <%- partial('_partial/main/article/references') %>
+ <%- partial('_partial/main/article/article_footer') %>
<%- partial('_partial/main/article/read_next') %>
<%- partial('_partial/plugins/comments/layout') %>
diff --git a/scripts/helpers/related_posts.js b/scripts/helpers/related_posts.js
index f5aeff3..ecd56e2 100644
--- a/scripts/helpers/related_posts.js
+++ b/scripts/helpers/related_posts.js
@@ -17,7 +17,6 @@ hexo.extend.helper.register('popular_posts_wrapper', function(args){
if (cfg.enable != true) return;
var returnHTML = "";
var div = `
-
@@ -54,6 +53,6 @@ hexo.extend.helper.register('popular_posts_wrapper', function(args){
if (returnHTML != "") returnHTML = "
" + returnHTML + "
";
div += returnHTML;
- div += '
';
+ div += '';
return div;
});
diff --git a/source/css/_layout/partial/article-footer.styl b/source/css/_layout/partial/article-footer.styl
index ee2007f..70776f9 100644
--- a/source/css/_layout/partial/article-footer.styl
+++ b/source/css/_layout/partial/article-footer.styl
@@ -34,7 +34,7 @@
.md .article-footer .social-wrap
grid-gap: 0.5rem 1rem
- margin: 1rem 0
+ margin: 0
.md .article-footer .qrcode
margin: 2rem auto 1rem
diff --git a/source/css/_layout/partial/comments.styl b/source/css/_layout/partial/comments.styl
deleted file mode 100644
index 7792207..0000000
--- a/source/css/_layout/partial/comments.styl
+++ /dev/null
@@ -1,9 +0,0 @@
-.related-wrap#comments
- div.cmt-body
- min-height: 150px
- position: relative
- svg.loading
- top: 60px
- a.avatar
- border-radius: 120px !important
- overflow: hidden !important
diff --git a/source/css/_layout/partial/read_next.styl b/source/css/_layout/partial/read_next.styl
deleted file mode 100644
index 60b9822..0000000
--- a/source/css/_layout/partial/read_next.styl
+++ /dev/null
@@ -1,14 +0,0 @@
-.related-wrap#read-next
- .body
- .post-title
- margin: 0.5rem 0
- line-height: 1.2
- a
- color: inherit
- &:hover
- color: $color-hover
- &.fs14
- color: var(--text-p3)
- font-weight: 500
- &.h2
- color: var(--text-p1)
diff --git a/source/css/_layout/partial/related_posts.styl b/source/css/_layout/partial/related.styl
similarity index 77%
rename from source/css/_layout/partial/related_posts.styl
rename to source/css/_layout/partial/related.styl
index 06ffcf1..8eb1604 100644
--- a/source/css/_layout/partial/related_posts.styl
+++ b/source/css/_layout/partial/related.styl
@@ -1,3 +1,8 @@
+.related-wrap
+ padding: 2rem 1rem
+ &:empty
+ display: none
+
.related-wrap#related-posts
.related-posts
width: 100%
@@ -60,3 +65,27 @@
transform: scale(1.04)
a+a
margin-left: 1rem
+
+
+.related-wrap#read-next
+ .body
+ .post-title
+ margin: 0.5rem 0
+ line-height: 1.2
+ a
+ color: inherit
+ &:hover
+ color: $color-hover
+ &.fs14
+ color: var(--text-p3)
+ font-weight: 500
+ &.h2
+ color: var(--text-p1)
+
+
+.related-wrap#comments
+ div.cmt-body
+ min-height: 150px
+ position: relative
+ svg.loading
+ top: 60px
diff --git a/source/css/_layout/partial/related_wrap.styl b/source/css/_layout/partial/related_wrap.styl
deleted file mode 100644
index c701703..0000000
--- a/source/css/_layout/partial/related_wrap.styl
+++ /dev/null
@@ -1,4 +0,0 @@
-.related-wrap
- padding: 2rem 1rem
- &:empty
- display: none