Add support for commento
This commit is contained in:
parent
46effd4614
commit
8035db5c05
3 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -150,5 +150,10 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.CommentoUrl }}
|
||||
<script defer src={{ .Site.Params.CommentoUrl }}></script>
|
||||
<div id="commento"></div>
|
||||
{{ end }}
|
||||
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue