16 lines
543 B
HTML
16 lines
543 B
HTML
|
<div id="gitment_thread"></div>
|
||
|
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
|
||
|
<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
|
||
|
<script>
|
||
|
var gitment = new Gitment({
|
||
|
id: '{{ page.id }}',
|
||
|
owner: '{{ site.gitment.username }}',
|
||
|
repo: '{{ site.gitment.repo }}',
|
||
|
oauth: {
|
||
|
client_id: '{{ site.gitment.client_id }}',
|
||
|
client_secret: '{{ site.gitment.client_secret }}',
|
||
|
},
|
||
|
});
|
||
|
gitment.render('gitment_thread')
|
||
|
</script>
|