From bd5e4ef83f5955eab30059df7d8bed99fc86e7ee Mon Sep 17 00:00:00 2001 From: Jeremial Date: Sat, 14 Sep 2013 12:26:37 +0800 Subject: [PATCH] add duoshuo comment provider for chinese users --- _config.yml | 2 ++ _includes/JB/comments | 2 ++ _includes/JB/comments-providers/duoshuo | 14 ++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 _includes/JB/comments-providers/duoshuo diff --git a/_config.yml b/_config.yml index 17bd3e2..cf5a4de 100644 --- a/_config.yml +++ b/_config.yml @@ -92,6 +92,8 @@ JB : num_posts: 5 width: 580 colorscheme: light + duoshuo : + short_name : jekyllbootstrap # Settings for analytics helper # Set 'provider' to the analytics provider you want to use. diff --git a/_includes/JB/comments b/_includes/JB/comments index 4e9e600..eec2e1e 100644 --- a/_includes/JB/comments +++ b/_includes/JB/comments @@ -9,6 +9,8 @@ {% include JB/comments-providers/intensedebate %} {% when "facebook" %} {% include JB/comments-providers/facebook %} +{% when "duoshuo" %} + {% include JB/comments-providers/duoshuo %} {% when "custom" %} {% include custom/comments %} {% endcase %} diff --git a/_includes/JB/comments-providers/duoshuo b/_includes/JB/comments-providers/duoshuo new file mode 100644 index 0000000..90865a0 --- /dev/null +++ b/_includes/JB/comments-providers/duoshuo @@ -0,0 +1,14 @@ + +
+ +