I quite like it where blogs give the option to reply via email β they're often static sites that have no comment feature.
I wonder about adding that to (b)log-In but equally wonder/worry about how. It would make sense to have an envelope icon next to the comment toggle but that might make things too cramped at the start of a post.
At the end? I think it would look awkward and I wouldn't want the scenario where a post finishes at the end of a line and the icon rolls over to be on a line of its own.
I could have a link after the post but, for aesthetic purposes, it would have to be included with the comment form so not visible from the main page. If implemented, I would like it to be accessible without having to expand the comment section.
More thought required. Maybe I'll throw it in and see how it looks. Would it be worthwhile? Would some prefer replying via email to leaving a public comment?
@colinwalker What about a checkbox under the "Leave A Reply" subheading with the label "Send privately as email?"
That's an idea, a little more complicated to implement but definitely an option. Thanks for the idea.
@colinwalker Thank you for reminding me that I need to include such an option. I did -- haven't given it too much though; just included a link below every post. But works because I don't have a commenting system.
@colinwalker After seeing it on a few blogs I follow, I added it to mine and the Tufte theme. I've received many replies through it and carried on some great conversations. Highly recommend.
Glad to hear that. The question is, then, not if but how.
@pimoore I added it to mine after seeing it in yours, and made sure to have the same option on the new project π
@colinwalker Here's the code I have in my blog for this: {{ if .Title }} <a class="reply" href="mailto:{{ .Site.Params.mailto }}?subject=Reply to {{ .Title }}">Reply by email</a> {{ else }} <a class="reply" href="mailto:{{ .Site.Params.mailto }}?subject=Reply to {{ .Permalink | safeURL }}">Reply by email</a> {{ end }} The mailto parameter contains my email address, and then the subject pre-populates with βReply to [title]βΒ if there is one, otherwise it just inserts the permalink. In your case it would just be a matter of pulling the title or permalink variable wherever they get stored in your system.
That's exactly what I've just done ππΒ
@colinwalker Awesome, it works too... π
@pimoore Where do I add this code?
@ridwan I have mine at the bottom of the /layouts/partials/article.html template, so it shows underneath each post on its own page.