From 04cfc0a81e13a26a2cc07152d7d27d6f67d3bc02 Mon Sep 17 00:00:00 2001 From: neoFelhz Date: Wed, 7 Jun 2017 12:54:20 +0800 Subject: [PATCH] feat(comment): add livere comment system support. --- _config.template.yml | 6 ++++-- layout/_widget/comment/livere/common.ejs | 0 layout/_widget/comment/livere/enter.ejs | 10 ++++++++++ layout/_widget/comment/livere/main.ejs | 12 ++++++++++++ 4 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 layout/_widget/comment/livere/common.ejs create mode 100644 layout/_widget/comment/livere/enter.ejs create mode 100644 layout/_widget/comment/livere/main.ejs diff --git a/_config.template.yml b/_config.template.yml index fa8f9e4cb..07b6838d1 100644 --- a/_config.template.yml +++ b/_config.template.yml @@ -190,14 +190,16 @@ materialcdn: # Comment Systems # Available value of "use": -# disqus | disqus_click | changyan | 163gentie +# disqus | disqus_click | changyan | 163gentie | livere(laibili) comment: use: shortname: # duoshuo or disqus shortname changyan_appid: changyan_conf: changyan_thread_key_type: path - gentie_productKey: + gentie_productKey: + livere_type: # city or premium + livere_data_uid: # Search Systems # Available value: diff --git a/layout/_widget/comment/livere/common.ejs b/layout/_widget/comment/livere/common.ejs new file mode 100644 index 000000000..e69de29bb diff --git a/layout/_widget/comment/livere/enter.ejs b/layout/_widget/comment/livere/enter.ejs new file mode 100644 index 000000000..dfcc2e966 --- /dev/null +++ b/layout/_widget/comment/livere/enter.ejs @@ -0,0 +1,10 @@ + +
+ <%- partial('_widget/comment/' + theme.comment.use + '/main') %> +
+ \ No newline at end of file diff --git a/layout/_widget/comment/livere/main.ejs b/layout/_widget/comment/livere/main.ejs new file mode 100644 index 000000000..5e092b9c6 --- /dev/null +++ b/layout/_widget/comment/livere/main.ejs @@ -0,0 +1,12 @@ +
+ +
\ No newline at end of file