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 %}