URI: 
       comments.md - hugo - [fork] hugo port for 9front
  HTML git clone https://git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       comments.md (2629B)
       ---
            1 ---
            2 title: Comments
            3 description: Hugo ships with an internal Disqus template, but this isn't the only commenting system that will work with your new Hugo website.
            4 categories: []
            5 keywords: []
            6 aliases: [/extras/comments/]
            7 ---
            8 
            9 Hugo ships with support for [Disqus](https://disqus.com/), a third-party service that provides comment and community capabilities to websites via JavaScript.
           10 
           11 Your theme may already support Disqus, but if not, it is easy to add to your templates via [Hugo's built-in Disqus partial][disquspartial].
           12 
           13 ## Add Disqus
           14 
           15 Hugo comes with all the code you need to load Disqus into your templates. Before adding Disqus to your site, you'll need to [set up an account][disqussetup].
           16 
           17 ### Configure Disqus
           18 
           19 Disqus comments require you set a single value in your [site's configuration file][configuration] like so:
           20 
           21 {{< code-toggle file=hugo >}}
           22 [services.disqus]
           23 shortname = 'your-disqus-shortname'
           24 {{</ code-toggle >}}
           25 
           26 For many websites, this is enough configuration. However, you also have the option to set the following in the [front matter] of a single content file:
           27 
           28 - `disqus_identifier`
           29 - `disqus_title`
           30 - `disqus_url`
           31 
           32 ### Render Hugo's built-in Disqus partial template
           33 
           34 Disqus has its own [internal template](/templates/embedded/#disqus) available, to render it add the following code where you want comments to appear:
           35 
           36 ```go-html-template
           37 {{ partial "disqus.html" . }}
           38 ```
           39 
           40 ## Alternatives
           41 
           42 Commercial commenting systems:
           43 
           44 - [Emote](https://emote.com/)
           45 - [Graph Comment](https://graphcomment.com/)
           46 - [Hyvor Talk](https://talk.hyvor.com/)
           47 - [IntenseDebate](https://intensedebate.com/)
           48 - [ReplyBox](https://getreplybox.com/)
           49 
           50 Open-source commenting systems:
           51 
           52 - [Cactus Comments](https://cactus.chat/docs/integrations/hugo/)
           53 - [Comentario](https://gitlab.com/comentario/comentario/)
           54 - [Comma](https://github.com/Dieterbe/comma/)
           55 - [Commento](https://commento.io/)
           56 - [Discourse](https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963)
           57 - [Giscus](https://giscus.app/)
           58 - [Isso](https://isso-comments.de/)
           59 - [Remark42](https://remark42.com/)
           60 - [Staticman](https://staticman.net/)
           61 - [Talkyard](https://blog-comments.talkyard.io/)
           62 - [Utterances](https://utteranc.es/)
           63 
           64 [configuration]: /configuration/
           65 [disquspartial]: /templates/embedded/#disqus
           66 [disqussetup]: https://disqus.com/profile/signup/
           67 [forum]: https://discourse.gohugo.io
           68 [front matter]: /content-management/front-matter/
           69 [kaijuissue]: https://github.com/spf13/kaiju/issues/new
           70 [issotutorial]: https://stiobhart.net/2017-02-24-isso-comments/
           71 [partials]: /templates/partial/
           72 [MongoDB]: https://www.mongodb.com/