diff --git a/README.md b/README.md index ce61622..ea04599 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ This theme was highly inspired by the [hello-friend](https://github.com/panr/hug - Fully responsive - Support for social icons - Support for sharing buttons +- Support for [Commento](https://commento.io) ## How to start diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3f08486..aebf2f4 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -86,6 +86,16 @@ disableHugoGeneratorInject = false customCSS = [] customJS = [] + # Commento is more than just a comments widget you can embed — + # it’s a return to the roots of the internet. + # An internet without the tracking and invasions of privacy. + # An internet that is simple and lightweight. + # An internet that is focused on interesting discussions, not ads. + # A better internet. + # Uncomment this to enable Commento. + # + # commentoUrl = "" + # Toggle this option need to rebuild SCSS, requires extended version of Hugo # justifyContent = false # Set "text-align: justify" to .post-content. diff --git a/layouts/posts/single.html b/layouts/posts/single.html index e46dbb1..88605f0 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -150,5 +150,10 @@ {{ end }} {{ end }} + {{ if .Site.Params.CommentoUrl }} + +
+ {{ end }} + {{ end }}