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

feat(comment): add gitment #454

Merged
merged 1 commit into from
Jul 28, 2017
Merged

Conversation

ElderJames
Copy link
Contributor

What kind of change does this PR introduce? (check one with "x")

  • Bug fix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

Description

Gitment is a comment system based on GitHub Issues, which can be used in the frontend without any server-side implementation. Now I add it in this theme.


Verification steps

  1. Click here to register an OAuth application, and you will get a client ID and a client secret.

Make sure the callback URL is right. Generally it's the origin of your site, like https://shriek.tech.

  1. Change the theme settings :
use: gitment
gitment_repo:   # git repo of the hexo
gitment_owner:  # git repo's owner
gitment_client_id:  # github app client id 
gitment_client_secret :  # github app client secret 
  1. Screenshot:

https://raw.githubusercontent.com/ElderJames/elderjames.github.io/53266729f680f0d88d7e540745808dcb2c7cf6de/source/image/7ccc0851gy1fhzjvled3yj20q20hhq3f.jpg

@neoFelhz
Copy link
Collaborator

Great!

@neoFelhz neoFelhz merged commit 3b8d3b7 into iblh:canary Jul 28, 2017
@neoFelhz neoFelhz mentioned this pull request Jul 28, 2017
9 tasks
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.

None yet

3 participants