Sha256: 5e4164dfd16e7a380871624f0e935d48888564529306fad5862592ca36134076

Contents?: true

Size: 896 Bytes

Versions: 1

Compression:

Stored size: 896 Bytes

Contents

<div id="gitalk-container"></div>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css">
<script src="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js"></script>
<script>
    var gitalk = new Gitalk({
        id: '{{ page.title }}',
        clientID: '{{ site.gitalk.id }}',
        clientSecret: '{{ site.gitalk.secret }}',
        repo: '{{ site.gitalk.repo | default: site.gitalk.repository }}',
        owner: '{{ site.gitalk.owner | default: site.github_username }}',
        admin: ['{{ site.gitalk.admin | default: site.github_username }}'],
        body: location.href,
        proxy: '{{ site.gitalk.proxy | default: "https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token" }}',
        language: '{{ site.lang | default: "en" }}',
        distractionFreeMode: false
    })
    gitalk.render('gitalk-container')
</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-kagami-0.2.0 _includes/gitalk.html