Comments Support

Add Comments to Posts With Disqus


Author: Daniel Kelly Published on: June 24, 2019

Disqus brings the power of commenting to the Awake template. It provides features like moderation, reactions, filtering, and social sharing out of the box. Best of all, it’s free and super easy to setup!

Step 1

Go to disqus.com and click on “Get Started”

Step 2

Choose “I want to install Disqus on my site”

Step 3

Sign-up or sign in

Step 4

Enter site name, Disqus URL and select a category. The Disqus URL name is your site’s name in your account where you can access all the required settings.

Step 5

Select a plan. There are several premium versions available, but don’t worry the free one works just great too!

Step 6

Disqus supports a number of different platforms but also works great in static sites like Awake. Scroll to the very bottom of the list and choose: “I don’t see my platform listed, install manually with”

Step 7

You can ignore everything on this page, as the Awake template has already configured it for you. All you have to do is find your “Site Short Name” (it’s the first part of the url) and add it to config/_siteConfig.js.

Take it from here:

and put it here:

// config/_siteConfig.js
export default {
...
// Disqus
  disqus: {
    on: false,
    loadingStrategy: 'button', // Options: onload, lazy, button
    siteShortName: 'testing-bjsj2bjl0i'
  },
}

Step 8

That’s it! You’ve got comments up and running on your site. Go checkout a post and see your new fancy comments section.