summaryrefslogtreecommitdiff
path: root/_includes/extensions/comments/gitment.html
blob: 56ad7eef1f05620ee431f5979a75e0353a878781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  <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>