diff --git a/.gitignore b/.gitignore index d866945..8529875 100644 --- a/.gitignore +++ b/.gitignore @@ -41,4 +41,6 @@ testem.log # System Files .DS_Store -Thumbs.db \ No newline at end of file +Thumbs.db + +_config-test.yml \ No newline at end of file diff --git a/_config.yml b/_config.yml index de7e08e..f6955d7 100644 --- a/_config.yml +++ b/_config.yml @@ -52,7 +52,7 @@ valine: appkey: # your leancloud application appkey notify: false # mail notifier, https://github.com/xCss/Valine/wiki verify: false # Verification code - placeholder: 评论一下再走吧~ + placeholder: Comment input placeholder # Show PV/UV of the website/page with busuanzi. diff --git a/layout/archive-post.ejs b/layout/archive-post.ejs index ebe414e..c4ca7d8 100644 --- a/layout/archive-post.ejs +++ b/layout/archive-post.ejs @@ -1,29 +1,20 @@ -<% const posts = is_archive() ? site.posts : page.posts %> +<% +const postList = createNewArchivePosts(is_archive() ? site.posts : page.posts) +%>