From bb0067b43475fbeb71afad154280a76c9e67018e Mon Sep 17 00:00:00 2001 From: neoFelhz Date: Sun, 7 May 2017 17:09:36 +0800 Subject: [PATCH] remove(comment): remove the duoshuo and disqus_proxy --- _config.template.yml | 5 +- .../_widget/comment/disqus_proxy/common.ejs | 1 - layout/_widget/comment/disqus_proxy/enter.ejs | 10 --- layout/_widget/comment/disqus_proxy/main.ejs | 88 ------------------- layout/_widget/comment/duoshuo/common.ejs | 18 ---- layout/_widget/comment/duoshuo/enter.ejs | 2 - layout/_widget/comment/duoshuo/main.ejs | 21 ----- 7 files changed, 1 insertion(+), 144 deletions(-) delete mode 100644 layout/_widget/comment/disqus_proxy/common.ejs delete mode 100644 layout/_widget/comment/disqus_proxy/enter.ejs delete mode 100644 layout/_widget/comment/disqus_proxy/main.ejs delete mode 100644 layout/_widget/comment/duoshuo/common.ejs delete mode 100644 layout/_widget/comment/duoshuo/enter.ejs delete mode 100644 layout/_widget/comment/duoshuo/main.ejs diff --git a/_config.template.yml b/_config.template.yml index 8a3359ef2..db4c73add 100644 --- a/_config.template.yml +++ b/_config.template.yml @@ -171,13 +171,10 @@ materialcdn: # Comment Systems # Available value of "use": -# duoshuo | disqus | disqus_click | disqus_proxy | changyan +# disqus | disqus_click | changyan comment: use: shortname: # duoshuo or disqus shortname - duoshuo_thread_key_type: path - duoshuo_embed_js_url: "https://static.duoshuo.com/embed.js" - disqus_proxy_js_url: changyan_appid: changyan_conf: changyan_thread_key_type: path diff --git a/layout/_widget/comment/disqus_proxy/common.ejs b/layout/_widget/comment/disqus_proxy/common.ejs deleted file mode 100644 index ab22ee869..000000000 --- a/layout/_widget/comment/disqus_proxy/common.ejs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/_widget/comment/disqus_proxy/enter.ejs b/layout/_widget/comment/disqus_proxy/enter.ejs deleted file mode 100644 index ae4744e6f..000000000 --- a/layout/_widget/comment/disqus_proxy/enter.ejs +++ /dev/null @@ -1,10 +0,0 @@ - -
- <%- partial('_widget/comment/' + theme.comment.use + '/main') %> -
- \ No newline at end of file diff --git a/layout/_widget/comment/disqus_proxy/main.ejs b/layout/_widget/comment/disqus_proxy/main.ejs deleted file mode 100644 index c797c7a29..000000000 --- a/layout/_widget/comment/disqus_proxy/main.ejs +++ /dev/null @@ -1,88 +0,0 @@ -
-
- - - - -<% if(theme.materialcdn.use === true) { %> - <%- cssLsload({path:(theme.materialcdn.base + '/css/disqus-proxy.min.css'),key:'css/disqus-proxy.min.css'}) %> -<%}else{%> - <%- cssLsload('css/disqus-proxy.min.css') %> -<%}%> - -
- -
- - - - - - diff --git a/layout/_widget/comment/duoshuo/common.ejs b/layout/_widget/comment/duoshuo/common.ejs deleted file mode 100644 index 076c29cdf..000000000 --- a/layout/_widget/comment/duoshuo/common.ejs +++ /dev/null @@ -1,18 +0,0 @@ - - - \ No newline at end of file diff --git a/layout/_widget/comment/duoshuo/enter.ejs b/layout/_widget/comment/duoshuo/enter.ejs deleted file mode 100644 index 86291b6b7..000000000 --- a/layout/_widget/comment/duoshuo/enter.ejs +++ /dev/null @@ -1,2 +0,0 @@ - -<%- partial('_widget/comment/' + theme.comment.use + '/main') %> \ No newline at end of file diff --git a/layout/_widget/comment/duoshuo/main.ejs b/layout/_widget/comment/duoshuo/main.ejs deleted file mode 100644 index 334e004a9..000000000 --- a/layout/_widget/comment/duoshuo/main.ejs +++ /dev/null @@ -1,21 +0,0 @@ -<%- cssLsload('css/duoshuo.min.css') %> - -
- -
-
- -