From 02da3bb58f898514728541245380a564d7ebca01 Mon Sep 17 00:00:00 2001 From: Marcelo Canina Date: Tue, 31 Jul 2018 10:49:41 -0300 Subject: [PATCH] Include usage of disqus internal template Docs shows the old partial approach. --- content/en/content-management/comments.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/en/content-management/comments.md b/content/en/content-management/comments.md index 1152c843c..268dc4c0e 100644 --- a/content/en/content-management/comments.md +++ b/content/en/content-management/comments.md @@ -41,7 +41,11 @@ For many websites, this is enough configuration. However, you also have the opti ### Render Hugo's Built-in Disqus Partial Template -See [Partial Templates][partials] to learn how to add the Disqus partial to your Hugo website's templates. +Disqus has its own [internal template](https://gohugo.io/templates/internal/#disqus) available, to render it add the following code where you want comments to appear: + +``` +{{ template "_internal/disqus.html" . }} +``` ## Comments Alternatives