Add email as a comments option
This commit is contained in:
parent
8ac7064d37
commit
8cfc8b17d0
2 changed files with 7 additions and 2 deletions
|
@ -26,8 +26,9 @@ params:
|
||||||
|
|
||||||
# Comments settings
|
# Comments settings
|
||||||
comments:
|
comments:
|
||||||
enabled: false
|
enabled: true
|
||||||
provider: giscus
|
provider: email
|
||||||
|
commentsEmail: "blog@rennerocha.com"
|
||||||
|
|
||||||
menu:
|
menu:
|
||||||
header:
|
header:
|
||||||
|
|
4
layouts/partials/comments/provider/email.html
Normal file
4
layouts/partials/comments/provider/email.html
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<div class="comments-container">
|
||||||
|
<h4>Comments</h4>
|
||||||
|
<p>If you want to start a discussion about this, you can send me an <strong><a href="mailto:{{ $.Site.Params.comments.commentsEmail }}?subject={{ replace (printf "Re: %s" $.Page.Title) "\"" "'" }}">e-mail: <i>blog@rennerocha.com</i></a></strong> ✉️</p>
|
||||||
|
</div>
|
Loading…
Add table
Add a link
Reference in a new issue