[blogdown] Enable Disqus comment in Hugo website
To enable disqus in a blog website, one need do setting in the configuration file ‘config.toml’.
Depending on the theme used by the website, one need set up the parameter ‘disqusShortname’, in the top level of the config file, or under ‘[params]’ section. The best place to check this is to read the theme’s github page for configuration. For the theme ‘diary’, it need be under ‘[params]’, as below:
|
|
To get ‘disqusShortname’, one need visit https://disqus.com/admin/create/ to create one.
Happy programming. 😃
Last modified on 2021-06-10