Re-indent disqus fragment

This commit is contained in:
Arnaud Rebillout
2020-07-26 14:50:29 +07:00
parent 6fe74116dc
commit b3ad890a46
+11 -11
View File
@@ -1,13 +1,13 @@
{% if DISQUS_SITENAME %} {% if DISQUS_SITENAME %}
<div id="disqus_thread"></div> <div id="disqus_thread"></div>
<script type="text/javascript"> <script type="text/javascript">
var disqus_shortname = '{{ DISQUS_SITENAME }}'; var disqus_shortname = '{{ DISQUS_SITENAME }}';
(function() { (function() {
var d = document, s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; var d = document, s = d.createElement('script'); s.type = 'text/javascript'; s.async = true;
s.src = 'https://' + disqus_shortname + '.disqus.com/embed.js'; s.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date()); s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s); (d.head || d.body).appendChild(s);
})(); })();
</script> </script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript> <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
{% endif %} {% endif %}