EmielH / tale-hugo

A port of the Tale theme for Hugo. Tale is a minimal theme curated for storytellers.
https://themes.gohugo.io/tale-hugo/
MIT License
249 stars 123 forks source link

add disqus-integration #39

Closed haohanyang closed 4 years ago

haohanyang commented 4 years ago

Following https://github.com/EmielH/tale-hugo/issues/38 I add disqus integration with simple user's configuration

User's config: add disqusShortname in config.toml

disqusShortname = "disqus-example"

And enable comments by adding the parameter in the post

comments: true

Example: https://quarrelsome-wealth.surge.sh/posts/hugo-disqus

haohanyang commented 4 years ago

Example project: https://gitlab.com/haohanyang/tale-disqus-example website: https://haohanyang.gitlab.io/tale-disqus-example

EmielH commented 4 years ago

Thank you so much for this PR, it looks good! 👍

Could you also update the readme with the installation instructions? Thanks!

haohanyang commented 4 years ago

Update finished.

EmielH commented 4 years ago

Thank you so much! I merged it back into master and will release a new version soon.