From 91293c7d4113b83d0afaeef4a0609a162981e1aa Mon Sep 17 00:00:00 2001 From: gilsondev Date: Wed, 10 Dec 2014 22:30:35 -0200 Subject: [PATCH] Insert analytics and disqus script --- templates/analytics.html | 45 ++++++++++++++++++++++++++++++++++++ templates/base.html | 2 ++ templates/disqus_script.html | 11 +++++++++ 3 files changed, 58 insertions(+) create mode 100644 templates/analytics.html create mode 100644 templates/disqus_script.html diff --git a/templates/analytics.html b/templates/analytics.html new file mode 100644 index 0000000..50c5b05 --- /dev/null +++ b/templates/analytics.html @@ -0,0 +1,45 @@ +{% if GOOGLE_ANALYTICS %} + +{% endif %} +{% if GAUGES %} + +{% endif %} +{% if PIWIK_URL and PIWIK_SITE_ID %} + diff --git a/templates/base.html b/templates/base.html index 2cee666..e5af0ba 100644 --- a/templates/base.html +++ b/templates/base.html @@ -164,6 +164,8 @@ + {% include 'analytics.html' %} + {% include 'disqus_script.html' %} diff --git a/templates/disqus_script.html b/templates/disqus_script.html new file mode 100644 index 0000000..4ee419b --- /dev/null +++ b/templates/disqus_script.html @@ -0,0 +1,11 @@ +{% if DISQUS_SITENAME %} + +{% endif %}