Update commento params

This commit is contained in:
Djordje Atlialp 2021-01-15 08:45:39 +01:00
parent 0caf93bb56
commit 723b15afbb
2 changed files with 13 additions and 12 deletions

View file

@ -86,16 +86,6 @@ disableHugoGeneratorInject = false
customCSS = [] customCSS = []
customJS = [] customJS = []
# Commento is more than just a comments widget you can embed —
# its 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 # Toggle this option need to rebuild SCSS, requires extended version of Hugo
# #
justifyContent = false # Set "text-align: justify" to .post-content. 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. # Set to a valid CSS time value to change the animation duration, "0s" to disable.
# logoCursorAnimate = "2s" # logoCursorAnimate = "2s"
# Commento is more than just a comments widget you can embed —
# its 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 # Uncomment this if you want a portrait on your start page
# #
# [params.portrait] # [params.portrait]

View file

@ -150,8 +150,8 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ if .Site.Params.CommentoUrl }} {{ if .Site.Params.Commento.Url }}
<script defer src={{ .Site.Params.CommentoUrl }}></script> <script defer src={{ .Site.Params.Commento.Url }}></script>
<div id="commento"></div> <div id="commento"></div>
{{ end }} {{ end }}