diff --git a/themes/hugo-future-imperfect-slim/layouts/_default/disqus.html b/themes/hugo-future-imperfect-slim/layouts/_default/disqus.html index 9bb0619..19d40e2 100644 --- a/themes/hugo-future-imperfect-slim/layouts/_default/disqus.html +++ b/themes/hugo-future-imperfect-slim/layouts/_default/disqus.html @@ -8,7 +8,7 @@ if (window.location.hostname == "localhost") return; - var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.defer = true; var disqus_shortname = '{{ .Site.DisqusShortname }}'; dsq.src = '//' + "chizu-blog-hugo" + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); diff --git a/themes/hugo-future-imperfect-slim/layouts/partials/disqus.html b/themes/hugo-future-imperfect-slim/layouts/partials/disqus.html index 1c272c0..ef5ca90 100644 --- a/themes/hugo-future-imperfect-slim/layouts/partials/disqus.html +++ b/themes/hugo-future-imperfect-slim/layouts/partials/disqus.html @@ -8,7 +8,7 @@ if (window.location.hostname == "localhost") return; - var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.defer = true; var disqus_shortname = '{{ .Site.DisqusShortname }}'; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);