From 2fb46afce1ed311b5c66fee9def9095a4711e4f5 Mon Sep 17 00:00:00 2001 From: jswh Date: Wed, 30 Nov 2016 17:11:35 +0800 Subject: [PATCH] add doushuo --- templates/article.html | 1 + templates/partial/duoshuo.html | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 templates/partial/duoshuo.html diff --git a/templates/article.html b/templates/article.html index 521a1ad..8543819 100644 --- a/templates/article.html +++ b/templates/article.html @@ -56,5 +56,6 @@ {% endif %} {% include "partial/disqus.html" %} + {% include "partial/duoshuo.html" %} {% endblock %} diff --git a/templates/partial/duoshuo.html b/templates/partial/duoshuo.html new file mode 100644 index 0000000..36bf3eb --- /dev/null +++ b/templates/partial/duoshuo.html @@ -0,0 +1,15 @@ +{% if DUOSHUO_SITENAME %} +
+ + {% endif %} \ No newline at end of file