chesterbr / chesterbr.github.io

My blog and personal website, powered by GitHub Pages / Jekyll
1 stars 0 forks source link

Enhance privacy for visitors #2

Closed chesterbr closed 8 months ago

chesterbr commented 6 years ago

I'm not sure whether the (Facebook-supplied?) "like" button does any sort of tracking. If so, get rid of it (I'm sure an easy link to a post form on Facebook is available), so users don't get tracked while visiting the site.

Check the same thing for Twitter (which I'm sure has a post form URL).

chesterbr commented 6 years ago

Got rid of social media buttons (people and browsers know how to post stuff), Google Analytics (I never look at it anyway) and Facebook Page. Still a bit concerned with Disqus (they respect do-not-track, but build profiles). Consider an alternative before closing this issue

chesterbr commented 4 years ago

Staticman (https://staticman.net/) seems to be the way to go. It accepts a form post for a comment, and opens a PR with the comment in a .yaml (which, apparently, Jekyll makes available so it's easy-ish to build comment templates with nesting and everything).

They host the server, I'd just need to give it some access to the repo - wonder if I could make it so they don't write to the master branch, so if they get compromised, they can't really publish on the site.

Alternatively, I can host the repo - which is a good option in case the service stops operating for whatever reason.

Here is a good example on how to do it: https://github.com/travisdowns/travisdowns.github.io

Each post has a matching folder for comments, containing the yaml files. There is some parent metadata that allows nesting

In particular, the comments template: https://github.com/travisdowns/travisdowns.github.io/blob/master/_includes/comments.html

Maybe adding a gravatar would be nice.

chesterbr commented 4 years ago

Yup, Jekyll auto-loads all yaml files in _data/ into site.data:

https://jekyllrb.com/docs/datafiles/

chesterbr commented 8 months ago

Staticman migrated; see #72 and its predecessors 🎉