You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK there is no way to tell Welcomments that the site is being deployed from a folder. Say, Chulapa docs (Jekyll) are deployed from https://github.com/dieghernan/chulapa/tree/master/docs but the bot commited to ./_data instead to ./docs/_data. Then, on the site deployment the comments are gathered via your js plugin and not from the local storage on GitHub. So If a user with this setup opts out of the js plugin the comments are not shown, since Jekyll would look for data on docs/_data. My workaround was to move the content from _data to docs/data.
On the templates
At least on Jekyll, the current template does not make use of author website. I think this is easy to fix on the templates with something like
.welcomments__container* {
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
line-height:1.5;
}
.welcomments__container* {
font-family: inherit;
line-height: inherit;
}
...
In my case I needed to ship a modified version of the welcomments removing the font-family rules.
Misc
On avatar image, welcomments seems to be ready to use custom images but it is not integrated (at least not in the customr form). My understanding is that providing a form for inputting an url to an avatar is easy. Would it be something that you may consider to expand?
Regards and thanks for this coooool plugin
The text was updated successfully, but these errors were encountered:
My concern here is privacy, since MD5 is not fully secured (can be broken by brute force to get back the email). I would favored that or, at least, give the user the option to opt out
I did consider Gravatar, but I’m not sure if it’s a good idea in 2022 to expose the md5 hashes of users’ email addresses to everyone visiting a given site.
I will have to look at the “proper” way to add avatars, maybe it’s Gravatar, maybe it’s something else.
Hi @roughike
As you already know, I implemented welcomments on https://dieghernan.github.io/chulapa/docs/02-config#xx-other-settings
I share here with you some thoughs:
On the bot
./_data
instead to./docs/_data
. Then, on the site deployment the comments are gathered via your js plugin and not from the local storage on GitHub. So If a user with this setup opts out of the js plugin the comments are not shown, since Jekyll would look for data ondocs/_data
. My workaround was to move the content from_data
todocs/data
.On the templates
author website
. I think this is easy to fix on the templates with something likeA new css rule would be needed, something like
On the css
I noticed that the custom css https://cdn.welcomments.io/welcomments.css interacts badly with Fontawesome, basically due to this kind of rules:
In my case I needed to ship a modified version of the welcomments removing the font-family rules.
Misc
On avatar image, welcomments seems to be ready to use custom images but it is not integrated (at least not in the customr form). My understanding is that providing a form for inputting an url to an avatar is easy. Would it be something that you may consider to expand?
Regards and thanks for this coooool plugin
The text was updated successfully, but these errors were encountered: