mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 08:15:37 +00:00
Include usage of disqus internal template
Docs shows the old partial approach.
This commit is contained in:
1 parent
9b53380c44
commit
02da3bb58f
1 file changed
+5
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user