Scroll to top

07/12/2021


2021/12/07#p1

11 comments: click to read or leave your own

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?

avatar
cdevroe says: Reply to cdevroe

@colinwalker What about a checkbox under the "Leave A Reply" subheading with the label "Send privately as email?"

avatar
Colin Walker replied:

That's an idea, a little more complicated to implement but definitely an option. Thanks for the idea.

avatar
amit says: Reply to amit

@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.

avatar
pimoore says: Reply to pimoore

@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.

avatar
Colin Walker replied:

Glad to hear that. The question is, then, not if but how.

avatar
maique says: Reply to maique

@pimoore I added it to mine after seeing it in yours, and made sure to have the same option on the new project 😊

avatar
pimoore says: Reply to pimoore

@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.

avatar
Colin Walker replied:

That's exactly what I've just done πŸ˜†πŸ‘Β

avatar
pimoore says: Reply to pimoore

@colinwalker Awesome, it works too... 😊

avatar
ridwan says: Reply to ridwan

@pimoore Where do I add this code?

avatar
pimoore says: Reply to pimoore

@ridwan I have mine at the bottom of the /layouts/partials/article.html template, so it shows underneath each post on its own page.

Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



2021/12/07#p2

2 comments: click to read or leave your own

I've had a first stab at my original idea of putting a mail icon next to the comment toggle. I think it actually looks okay and doesn't clog things up too much. It'll do for a start and may even be the final solution.

Reply by email

It has made me realise I need to redo the comment icon as it looks poor by comparison.

avatar
Hyde says: Reply to Hyde

We should add reply by signed and encrypted email using gpg :)

avatar
Colin Walker replied:

That's probably going a bit too far πŸ˜‚

Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



avatar
Nitin Khanna says: Reply to Nitin Khanna

I like the new comment icon!

avatar
Colin Walker replied:

Thanks. The old ones were a bit lo-fi so they needed refreshing.

Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



Close