Re:Building a blog from scratch in 2022 using Hugo, Docker a...
by fuzzy2 on Friday March 18, 2022 @05:08AM
(#30720001)
> The contact form is cool, but for a simple blog I think that it is enough to just provide an email address, which is obfuscated as SVG paths and therefore not extractable. Although it is nice to have a real contact form to hide your email address from visitors.
Or just add the address. I have a mailto link (no obfuscation or anything) on my page (that nobody visits anyway, but I believe Google has it). I think I have never received a single mail to this alias, spam or otherwise. (YMMV of course.)
Re:Building a blog from scratch in 2022 using Hugo, Docker a...
by franga2000 on Friday March 18, 2022 @05:46AM
(#30720197)
At the very least, I really suggest you use an email alias that you can filter or burn by if necessary. If you ever post a link to your site to something like HN or Reddit, you absolutely will get tons of spam and once you're on a list somewhere, you'll never ever get off of it.
And no, Google's [email protected] system isn't good enough - any spammer worth their salt will strip those.
Re:Building a blog from scratch in 2022 using Hugo, Docker a...
by sandreas on Friday March 18, 2022 @06:17AM
(#30720374)
Absolutely... usually the site is hosted on a domain "domain.tld" and i tend to use [email protected] as redirect, which may be redirected or filtered.
I agree about the google part, although google mail is NOT my chosen provider any more :-)
Re:Building a blog from scratch in 2022 using Hugo, Docker a...
by jefftk on Friday March 18, 2022 @08:32AM
(#30721348)
I have my regular email address on my blog, and I've had posts on HN and Reddit many times without getting spammed.
Re:Building a blog from scratch in 2022 using Hugo, Docker a...
by AlchemistCamp on Friday March 18, 2022 @10:35AM
(#30722797)
My email address is on my site and YT channel and I don't have that problem.
Re:Building a blog from scratch in 2022 using Hugo, Docker a...
by moreira on Friday March 18, 2022 @05:11AM
(#30720020)
> obfuscated as SVG paths and therefore not extractable
Off-topic but I’ve found that it’s a lot better to just use a spam filter than to constantly try and hide my address. I’ve signed up to countless services that have gotten hacked and exposed my email, so the cat’s out of the bag - my email is out there. There is no chance of avoiding spam.
Re:Building a blog from scratch in 2022 using Hugo, Docker a...
by sandreas on Friday March 18, 2022 @06:20AM
(#30720384)
Yeah that's correct, but the "better use redirect emails" comment above is also valid. If you keep your email as private as possible, it might reduce the amount of spam, which is usually a good thing.
The contact form is cool, but for a simple blog I think that it is enough to just provide an email address, which is obfuscated as SVG paths and therefore not extractable. Although it is nice to have a real contact form to hide your email address from visitors.
You should also consider using a partial for the render-image.html to be more flexible in templates.
See https://pilabor.com/blog/2021/05/building-a-blog-with-hugo/#... for details.