Add new "comment" system (based on lists.sr.ht)

Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
This commit is contained in:
Sergio Durigan Junior 2023-05-08 13:43:27 -04:00
parent ecc5533856
commit aa6b714a94
2 changed files with 6 additions and 3 deletions

View file

@ -21,9 +21,9 @@ paginate = 20
customCSS = ["css/custom.css", "jetbrains-mono/jetbrains-mono.css"] # Include custom CSS files customCSS = ["css/custom.css", "jetbrains-mono/jetbrains-mono.css"] # Include custom CSS files
customJS = ["js/custom.js"] # Include custom JS files customJS = ["js/custom.js"] # Include custom JS files
mainMenuAlignment = "right" # Align main menu (desktop version) to the right side mainMenuAlignment = "right" # Align main menu (desktop version) to the right side
authorbox = true # Show authorbox at bottom of single pages if true authorbox = false # Show authorbox at bottom of single pages if true
comments = false # Enable comments for all site pages comments = true # Enable comments for all site pages
related = true # Enable Related content for single pages related = false # Enable Related content for single pages
relatedMax = 5 # Set the maximum number of elements that can be displayed in related block. Optional relatedMax = 5 # Set the maximum number of elements that can be displayed in related block. Optional
mathjax = false # Enable MathJax for all site pages mathjax = false # Enable MathJax for all site pages
#mathjaxPath = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js" # Specify MathJax path. Optional #mathjaxPath = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js" # Specify MathJax path. Optional

View file

@ -0,0 +1,3 @@
<section class="comments block">
<small>Have a comment? Start a discussion in my <a href="https://lists.sr.ht/~sergiodj/public-inbox">public inbox</a> by sending an email to <a href="mailto:~sergiodj/public-inbox@lists.sr.ht?Subject=Re: {{ .Title }}">~sergiodj/public-inbox@lists.sr.ht</a> [<a href="https://man.sr.ht/lists.sr.ht/etiquette.md">mailing list etiquette</a>], or see <a href="https://lists.sr.ht/~sergiodj/public-inbox?search={{ replace .Title " " "+" }}">existing discussions</a>.</small>
</section>