From 8cfc8b17d0fd6f491c7639a02252c894ce70e844 Mon Sep 17 00:00:00 2001 From: Renne Rocha Date: Tue, 13 May 2025 14:17:26 -0300 Subject: [PATCH] Add email as a comments option --- config.yaml | 5 +++-- layouts/partials/comments/provider/email.html | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 layouts/partials/comments/provider/email.html diff --git a/config.yaml b/config.yaml index d391cbf..98f7108 100644 --- a/config.yaml +++ b/config.yaml @@ -26,8 +26,9 @@ params: # Comments settings comments: - enabled: false - provider: giscus + enabled: true + provider: email + commentsEmail: "blog@rennerocha.com" menu: header: diff --git a/layouts/partials/comments/provider/email.html b/layouts/partials/comments/provider/email.html new file mode 100644 index 0000000..74fc4d7 --- /dev/null +++ b/layouts/partials/comments/provider/email.html @@ -0,0 +1,4 @@ +
+

Comments

+

If you want to start a discussion about this, you can send me an e-mail: blog@rennerocha.com ✉️

+