Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message about ability to comment directly via GitHub for Utterances #267

Merged
merged 1 commit into from
Jun 10, 2020

Conversation

szpak
Copy link
Contributor

@szpak szpak commented May 5, 2020

Utterances is nice to leverage GitHub as a storage for comments, however, not all people are happy to have to authorize the Utterances bot to put comments everywhere on GitHub on their behalves.

This PR adds a message below the comment iframe with the information where the comments can be placed directly. It points to the generic configured issues link for site or (if utterances_issue_id: X is defined for a given page) also points directly to the particular issues.

I (re-)use my custom CSS classes here, so you would probably want to add some own.

Sample appearances:
image

Btw, what is also nice, it works also if external scripts (for utterances) are blocked in the browser.

@zzossig zzossig merged commit 82899d7 into zzossig:master Jun 10, 2020
@zzossig
Copy link
Owner

zzossig commented Jun 10, 2020

Ok, this could be good information for the visitors.
But it needs some changes because we have to consider multi-languages.
Thanks anyway!

zzossig added a commit that referenced this pull request Jun 10, 2020
siteofen pushed a commit to siteofen/hugo-theme-zzo that referenced this pull request Jan 31, 2025
…mments

Message about ability to comment directly via GitHub for Utterances
siteofen pushed a commit to siteofen/hugo-theme-zzo that referenced this pull request Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants