Sha256: bacd9b334debf0e1aeb0d71af3334604d53a69a6535a448c02e81fbabdaaf6dc

Contents?: true

Size: 661 Bytes

Versions: 1

Compression:

Stored size: 661 Bytes

Contents

{%- comment -%}
https://github.com/gitalk/gitalk
{%- endcomment -%}

<link rel="stylesheet" href="{{site.npm_cdn}}/gitalk@1/dist/gitalk.css">
<script src="{{site.npm_cdn}}/gitalk@1/dist/gitalk.min.js"></script>

<div id="gitalk-container"></div>
<script type="text/javascript">
  var gitalk = new Gitalk({
    clientID: "{{ site.gitalk.clientID }}",
    clientSecret: "{{ site.gitalk.clientSecret }}",
    repo: "{{ site.gitalk.repo }}",
    owner: "{{ site.gitalk.owner }}",
    admin: ["{{ site.gitalk.owner }}"],
    id: location.pathname,
    language: "{{ site.lang }}",
    title: "{{ page.title }}",
  });

  gitalk.render('gitalk-container');
</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
databook-theme-0.1.2 _includes/components/comments.gitalk.liquid