From aa6b714a94322c618f4004b95892fdd56c3ad1c2 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Mon, 8 May 2023 13:43:27 -0400 Subject: [PATCH] Add new "comment" system (based on lists.sr.ht) Signed-off-by: Sergio Durigan Junior --- config.toml | 6 +++--- layouts/partials/comments.html | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 layouts/partials/comments.html diff --git a/config.toml b/config.toml index 578ed5d..25ef88d 100644 --- a/config.toml +++ b/config.toml @@ -21,9 +21,9 @@ paginate = 20 customCSS = ["css/custom.css", "jetbrains-mono/jetbrains-mono.css"] # Include custom CSS files customJS = ["js/custom.js"] # Include custom JS files mainMenuAlignment = "right" # Align main menu (desktop version) to the right side - authorbox = true # Show authorbox at bottom of single pages if true - comments = false # Enable comments for all site pages - related = true # Enable Related content for single pages + authorbox = false # Show authorbox at bottom of single pages if true + comments = true # Enable comments for all site 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 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 diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html new file mode 100644 index 0000000..4e8252d --- /dev/null +++ b/layouts/partials/comments.html @@ -0,0 +1,3 @@ +
+ Have a comment? Start a discussion in my public inbox by sending an email to ~sergiodj/public-inbox@lists.sr.ht [mailing list etiquette], or see existing discussions. +