diff --git a/layout/_partial/after-footer.ejs b/layout/_partial/after-footer.ejs index 21fdd99..bbcc119 100644 --- a/layout/_partial/after-footer.ejs +++ b/layout/_partial/after-footer.ejs @@ -31,6 +31,9 @@ <%- js('js/ayer') %> + + + <% if (theme.mathjax){ %> <%- partial('mathjax') %> <% } %> diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index 47546ec..cb0d557 100644 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -32,36 +32,8 @@ <% } %> <% if ((theme.reward_type === 2 || (theme.reward_type === 1 && post.reward)) && !index){ %> -
- -
- - 赏 - - - - -

<%= theme.reward_wording%>

-
- <% if(theme.alipay) {%> -
- - 支付宝 -
- <% } %> - <% if(theme.weixin) {%> -
- - 微信 -
- <% } %> -
-
-
-
-
-
+
+ 打赏
<% } %>
diff --git a/layout/_partial/mathjax.ejs b/layout/_partial/mathjax.ejs index b7d1997..73213ef 100644 --- a/layout/_partial/mathjax.ejs +++ b/layout/_partial/mathjax.ejs @@ -15,4 +15,4 @@ }); - \ No newline at end of file + \ No newline at end of file diff --git a/layout/_partial/modal.ejs b/layout/_partial/modal.ejs new file mode 100644 index 0000000..0e8124b --- /dev/null +++ b/layout/_partial/modal.ejs @@ -0,0 +1,21 @@ +
+ + +
+ +

<%= theme.reward_wording%>

+
+ <% if(theme.alipay) {%> +
+ + 支付宝 +
+ <% } %> + <% if(theme.weixin) {%> +
+ + 微信 +
+ <% } %> +
+
\ No newline at end of file diff --git a/layout/_partial/post/gitalk.ejs b/layout/_partial/post/gitalk.ejs index 8f86da6..fcf12ef 100644 --- a/layout/_partial/post/gitalk.ejs +++ b/layout/_partial/post/gitalk.ejs @@ -1,21 +1,21 @@ <% if (theme.gitalk.enable) { %> -
- <%- css('https://unpkg.com/gitalk/dist/gitalk.css') %> - <%- js('https://unpkg.com/gitalk/dist/gitalk.min.js') %> - <%- js('https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.min.js') %> - + <% } %> \ No newline at end of file diff --git a/layout/_partial/post/valine.ejs b/layout/_partial/post/valine.ejs index 674823a..eea7dd9 100644 --- a/layout/_partial/post/valine.ejs +++ b/layout/_partial/post/valine.ejs @@ -5,7 +5,7 @@ - +