From 723b15afbb13b6776ba8574c5fc21d04648a67b2 Mon Sep 17 00:00:00 2001 From: Djordje Atlialp Date: Fri, 15 Jan 2021 08:45:39 +0100 Subject: [PATCH] Update commento params --- exampleSite/config.toml | 21 +++++++++++---------- layouts/posts/single.html | 4 ++-- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index c64cbfc..46394ad 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -86,16 +86,6 @@ 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. @@ -124,6 +114,17 @@ disableHugoGeneratorInject = false # Set to a valid CSS time value to change the animation duration, "0s" to disable. # logoCursorAnimate = "2s" + # 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. + # + # [params.commento] + # url = "" + # Uncomment this if you want a portrait on your start page # # [params.portrait] diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 88605f0..f75f83b 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -150,8 +150,8 @@ {{ end }} {{ end }} - {{ if .Site.Params.CommentoUrl }} - + {{ if .Site.Params.Commento.Url }} +
{{ end }}