How to Lazy Load Disqus Comments in Your Hugo Webpage

In this post, we will illustrate how to lazy load your Disqus comments on your Hugo site, so that they show up only once the user scrolls down to the comment section. This can potentially save a lot of bandwidth for someone viewing your page, since the assets downloaded by Disqus can be quite heavy. Create Your Own Comments Partial By default, Hugo uses an internal partial template to render Disqus comments:...