From dca59d5369853ffc597dba07b25579986f9ef2d6 Mon Sep 17 00:00:00 2001 From: Drew Bowering Date: Tue, 25 Nov 2025 09:56:04 -0700 Subject: [PATCH 1/2] enable comments on d-b.ca posts --- config/_default/params.toml | 9 ++++++++- layouts/partials/comments.html | 28 ++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/comments.html diff --git a/config/_default/params.toml b/config/_default/params.toml index 8e25aa4..34ec595 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -56,6 +56,7 @@ forgejoDefaultServer = "https://v8.next.forgejo.org" showDate = true showViews = false showLikes = false + showComments = true showDateOnlyInArticle = false showDateUpdated = false showAuthor = true @@ -164,4 +165,10 @@ forgejoDefaultServer = "https://v8.next.forgejo.org" [rssnext] # feedId = "" - # userId = "" \ No newline at end of file + # userId = "" + +[remark42] + enabled = true + host = "https://comment.d-b.ca" + site = "d-b.ca" + locale = "en" diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html new file mode 100644 index 0000000..71aa3c5 --- /dev/null +++ b/layouts/partials/comments.html @@ -0,0 +1,28 @@ +{{- with .Site.Params.remark42 -}} +
+

Comments and questions are welcome! You can use your email address to Sign In (your email address is not publicly displayed), or you can use your Google or GitHub account. All comment data is hosted locally by d-b.ca and is not tracked. Please refer to the Remark42 Privacy Policy for more information.

+
+ +{{- end -}} From caef30217140d653eaa3aae32141904212f15b1d Mon Sep 17 00:00:00 2001 From: Drew Bowering Date: Wed, 26 Nov 2025 15:25:25 -0700 Subject: [PATCH 2/2] add privacy policy link - Google in particular demands this. --- config/_default/menus.en.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml index 40889ae..cea1fbd 100644 --- a/config/_default/menus.en.toml +++ b/config/_default/menus.en.toml @@ -67,3 +67,7 @@ # name = "Categories" # pageRef = "categories" # weight = 20 + +[[footer]] + name = "Privacy" + url = "https://comment.d-b.ca/web/privacy.html"