Fix disqus count code inclusion

This commit is contained in:
Luca Chiricozzi 2016-01-03 19:30:27 +01:00
parent 960018f182
commit 0e7ca19331

View File

@ -1,3 +1,4 @@
{% if DISQUS_SITENAME %}
<script type="text/javascript"> <script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ DISQUS_SITENAME }}'; // required: replace example with your forum shortname var disqus_shortname = '{{ DISQUS_SITENAME }}'; // required: replace example with your forum shortname
@ -10,4 +11,4 @@ var disqus_shortname = '{{ DISQUS_SITENAME }}'; // required: replace example wit
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}()); }());
</script> </script>
{% endif %}