From c86c180e3f2319041fb15ca56120da82f142d921 Mon Sep 17 00:00:00 2001 From: Zhongwei Sun Date: Thu, 15 Jan 2015 13:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=8F=96=E5=87=BA=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=81=9A=E6=88=90=E9=80=9A=E7=94=A8=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pelican/themes/notmyidea/templates/analytics.html | 11 +++++++++++ pelican/themes/notmyidea/templates/base.html | 3 ++- .../themes/notmyidea/templates/china_icp_license.html | 5 +++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 pelican/themes/notmyidea/templates/china_icp_license.html diff --git a/pelican/themes/notmyidea/templates/analytics.html b/pelican/themes/notmyidea/templates/analytics.html index e27adf82..9f500731 100644 --- a/pelican/themes/notmyidea/templates/analytics.html +++ b/pelican/themes/notmyidea/templates/analytics.html @@ -44,3 +44,14 @@ })(); {% endif %} +{% if BAIDU_ANALYTICS %} + +{% endif %} diff --git a/pelican/themes/notmyidea/templates/base.html b/pelican/themes/notmyidea/templates/base.html index d6b4cb35..1c09a194 100644 --- a/pelican/themes/notmyidea/templates/base.html +++ b/pelican/themes/notmyidea/templates/base.html @@ -74,9 +74,10 @@

The theme is by Smashing Magazine, thanks!

+ {% include 'china_icp_license.html' %} -{% include 'analytics.html' %} +{% include 'analytics.html' %} {% include 'disqus_script.html' %} diff --git a/pelican/themes/notmyidea/templates/china_icp_license.html b/pelican/themes/notmyidea/templates/china_icp_license.html new file mode 100644 index 00000000..cff5b061 --- /dev/null +++ b/pelican/themes/notmyidea/templates/china_icp_license.html @@ -0,0 +1,5 @@ +{% if CHINA_ICP_LICENSE %} +

+{{ CHINA_ICP_LICENSE }} +

+{% endif %}