diff --git a/_config.yml b/_config.yml
index dc2c888..5b3d038 100644
--- a/_config.yml
+++ b/_config.yml
@@ -101,14 +101,14 @@ layout:
article_width: 80rem
sidebar_width: 8rem
-# 评论:1、Valine(推荐);2、Gitalk
+# 评论:1、Valine(推荐);2、Gitalk;3、MiniValine
# 1、Valine[一款快速、简洁且高效的无后端评论系统](https://github.com/xCss/Valine)
# 启用Valine必须先创建leancloud应用, 获取 id|key 填入即可
leancloud:
enable: true
- app_id: #
- app_key: #
+ app_id: # Your leancloud application appid
+ app_key: # Your leancloud application appkey
# Valine配置
valine:
enable: true # 是否启用
@@ -126,6 +126,20 @@ gitalk:
owner: # GitHub ID
admin: # GitHub ID
+# 3、MiniValine
+# See: https://github.com/MiniValine/MiniValine
+minivaline:
+ enable: true
+ placeholder: Write a Comment # Comment box placeholder
+ adminEmailMd5: # The MD5 of Admin Email to show Admin Flag.
+ math: true # Support MathJax.
+ md: true # Support Markdown.
+ # MiniValine's display language depends on user's browser or system environment
+ # If you want everyone visiting your site to see a uniform language, you can set a force language value
+ # Available values: en | zh-CN | (and many more)
+ # More i18n info: https://github.com/MiniValine/minivaline-i18n
+ lang:
+
# GitHub Ribbons-封面右上角的forkme,换样式直接在source/images目录下替换forkme图片
github:
# (关闭请设置为false)
diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs
index 5d0dfcc..b9ae2bc 100644
--- a/layout/_partial/article.ejs
+++ b/layout/_partial/article.ejs
@@ -81,5 +81,9 @@
<% if (is_post()) { %>
<%- partial('post/gitalk') %>
<% } %>
+
+ <% if (theme.minivaline && theme.minivaline.enable && !post.no_minivaline){ %>
+ <%- partial('post/minivaline') %>
+ <% } %>
\ No newline at end of file
diff --git a/layout/_partial/post/minivaline.ejs b/layout/_partial/post/minivaline.ejs
new file mode 100644
index 0000000..c94b1ba
--- /dev/null
+++ b/layout/_partial/post/minivaline.ejs
@@ -0,0 +1,49 @@
+<% if (!index && theme.leancloud && theme.leancloud.enable){ %>
+
+
+
+
+
+
+
+
+<% } %>
\ No newline at end of file
diff --git a/logo.png b/logo.png
index 730eb0b..93a9137 100644
Binary files a/logo.png and b/logo.png differ
diff --git a/screenshots/hexo-theme-ayer.png b/screenshots/hexo-theme-ayer.png
index e3d847f..6f5d0a7 100644
Binary files a/screenshots/hexo-theme-ayer.png and b/screenshots/hexo-theme-ayer.png differ
diff --git a/source/images/404.jpg b/source/images/404.jpg
index 0bb51ce..47daa24 100644
Binary files a/source/images/404.jpg and b/source/images/404.jpg differ
diff --git a/source/images/alipay.jpg b/source/images/alipay.jpg
index 8c92c59..a141c89 100644
Binary files a/source/images/alipay.jpg and b/source/images/alipay.jpg differ
diff --git a/source/images/ayer-side.svg b/source/images/ayer-side.svg
index 8442ea9..ed15e1b 100644
--- a/source/images/ayer-side.svg
+++ b/source/images/ayer-side.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/source/images/ayer.png b/source/images/ayer.png
index 730eb0b..c4754fb 100644
Binary files a/source/images/ayer.png and b/source/images/ayer.png differ
diff --git a/source/images/ayer.svg b/source/images/ayer.svg
index 697a746..fc0d0d4 100644
--- a/source/images/ayer.svg
+++ b/source/images/ayer.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/source/images/cover6.jpg b/source/images/cover6.jpg
index 772deff..f3a6fbc 100644
Binary files a/source/images/cover6.jpg and b/source/images/cover6.jpg differ
diff --git a/source/images/cover7.jpg b/source/images/cover7.jpg
index b80e482..bb87a23 100644
Binary files a/source/images/cover7.jpg and b/source/images/cover7.jpg differ
diff --git a/source/images/forkme.png b/source/images/forkme.png
index c380274..8178a8c 100644
Binary files a/source/images/forkme.png and b/source/images/forkme.png differ
diff --git a/source/images/sponsor.jpg b/source/images/sponsor.jpg
index d319974..2bf151f 100644
Binary files a/source/images/sponsor.jpg and b/source/images/sponsor.jpg differ