Comments (1)
你忘记设置 id 了。评论是与 id 对应的。在 hexo 里可以把 id 设成文章 id。
下面是你的代码:
var gitment = new Gitment({
id: '页面 ID', // 可选。默认为 location.href
owner: 'javahuang',
repo: 'javahuang.github.io',
oauth: {
client_id: 'd74bfd49f14fba220dba',
client_secret: '1b82b1520f36da3754a52713bd72f661c8c8e006',
},
})
gitment.render('container')
from gitment.
Related Issues (20)
- mark
- 建议在每条评论旁添加快捷回复按钮,就是like旁边添加最好了 HOT 1
- 2333
- 一直报错Error: Validation Failed,已经把id改成日期了呀 HOT 1
- 大家到底怎么解决的?我还是not found。首先我觉得没有必要新建仓库来存放评论,可以就用username.github.io这个仓库
- Install using unpkg.com HOT 2
- 文章自动初始化评论 javascript 代码片段解决方案 : ) HOT 2
- perPage 参数最大能设置为多少? HOT 1
- [GitHub API] Deprecation notice for authentication via URL query parameters
- gh-oauth.imsun.net 证书失效 HOT 6
- Is this project Abandoned? 这个项目被放弃了吗? HOT 7
- 初始化失败,请教该怎么解决? HOT 6
- Optimise Search engine ! HOT 1
- 删除
- 测试一下怎么删除 HOT 1
- 修正gh-oauth.imsun.net服务不可用 HOT 3
- Failed to initialize Copilot Language Server HOT 1
- 卡 Loading comment 是什么问题啊 HOT 1
- 错误报告
- div的id与landscape主题中已有的id重复, 没有出现评论界面 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitment.