github.com/jbramsden/hugo@v0.47.1/docs/content/en/content-management/comments.md (about)

     1  ---
     2  title: Comments
     3  linktitle: Comments
     4  description: Hugo ships with an internal Disqus template, but this isn't the only commenting system that will work with your new Hugo website.
     5  date: 2017-02-01
     6  publishdate: 2017-02-01
     7  lastmod: 2017-03-09
     8  keywords: [sections,content,organization]
     9  categories: [project organization, fundamentals]
    10  menu:
    11    docs:
    12      parent: "content-management"
    13      weight: 140
    14  weight: 140	#rem
    15  draft: false
    16  aliases: [/extras/comments/]
    17  toc: true
    18  ---
    19  
    20  Hugo ships with support for [Disqus](https://disqus.com/), a third-party service that provides comment and community capabilities to websites via JavaScript.
    21  
    22  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].
    23  
    24  ## Add Disqus
    25  
    26  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].
    27  
    28  ### Configure Disqus
    29  
    30  Disqus comments require you set a single value in your [site's configuration file][configuration] like so:
    31  
    32  {{< code-toggle copy="false" >}}
    33  disqusShortname = "yourdiscussshortname"
    34  {{</ code-toggle >}}
    35  
    36  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:
    37  
    38  * `disqus_identifier`
    39  * `disqus_title`
    40  * `disqus_url`
    41  
    42  ### Render Hugo's Built-in Disqus Partial Template
    43  
    44  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:
    45  
    46  ```
    47  {{ template "_internal/disqus.html" . }}
    48  ```
    49  
    50  ## Comments Alternatives
    51  
    52  There are a few alternatives to commenting on static sites for those who do not want to use Disqus:
    53  
    54  * [Static Man](https://staticman.net/)
    55  * [Talkyard](https://www.talkyard.io/blog-comments) (Open source, & serverless hosting)
    56  * [txtpen](https://txtpen.github.io/hn/)
    57  * [IntenseDebate](http://intensedebate.com/)
    58  * [Graph Comment][]
    59  * [Muut](http://muut.com/)
    60  * [isso](http://posativ.org/isso/) (Self-hosted, Python)
    61      * [Tutorial on Implementing Isso with Hugo][issotutorial]
    62  
    63  
    64  <!-- I don't think this is worth including in the documentation since it seems that Steve is no longer supporting or developing this project. rdwatters - 2017-02-29.-->
    65  <!-- * [Kaiju](https://github.com/spf13/kaiju) -->
    66  
    67  <!-- ## Kaiju
    68  
    69  [Kaiju](https://github.com/spf13/kaiju) is an open-source project started by [spf13](http://spf13.com/) (Hugo’s author) to bring easy and fast real time discussions to the web.
    70  
    71  Written using Go, Socket.io, and [MongoDB][], Kaiju is very fast and easy to deploy.
    72  
    73  It is in early development but shows promise. If you have interest, please help by contributing via pull request, [opening an issue in the Kaiju GitHub repository][kaijuissue], or [Tweeting about it][tweet]. Every bit helps. -->
    74  
    75  [configuration]: /getting-started/configuration/
    76  [disquspartial]: /templates/partials/#disqus
    77  [disqussetup]: https://disqus.com/profile/signup/
    78  [forum]: https://discourse.gohugo.io
    79  [front matter]: /content-management/front-matter/
    80  [Graph Comment]: https://graphcomment.com/
    81  [kaijuissue]: https://github.com/spf13/kaiju/issues/new
    82  [issotutorial]: https://stiobhart.net/2017-02-24-isso-comments/
    83  [partials]: /templates/partials/
    84  [MongoDB]: https://www.mongodb.com/
    85  [tweet]: https://twitter.com/spf13