2019-09-30 15:38:41 +03:00
|
|
|
<!--
|
|
|
|
The Disqus lazy loading.
|
|
|
|
Powered by: https://osvaldas.info/lazy-loading-disqus-comments
|
2020-01-02 16:17:49 +03:00
|
|
|
v2.0
|
|
|
|
https://github.com/cotes2020/jekyll-theme-chirpy
|
2019-09-30 15:38:41 +03:00
|
|
|
© 2019 Cotes Chung
|
|
|
|
MIT License
|
|
|
|
-->
|
|
|
|
|
2020-07-29 23:58:05 +03:00
|
|
|
<div id="disqus" class="pt-2 pb-2">
|
|
|
|
<p class="font-italic text-center text-muted small">
|
|
|
|
Comments powered by <a href="https://disqus.com/">Disqus</a>.
|
|
|
|
</p>
|
2019-09-30 15:38:41 +03:00
|
|
|
</div>
|
|
|
|
|
2020-05-29 19:48:10 +03:00
|
|
|
<script src="{{ site.baseurl }}/assets/js/lib/jquery.disqusloader.min.js"></script>
|
2019-09-30 15:38:41 +03:00
|
|
|
<script>
|
|
|
|
var options = {
|
|
|
|
scriptUrl: '//{{ site.disqus.shortname }}.disqus.com/embed.js',
|
|
|
|
|
|
|
|
disqusConfig: function() {
|
|
|
|
this.page.url = '{{ site.url | append: site.baseurl | append: page.url }}';
|
|
|
|
this.page.identifier = '{{ page.url }}';
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
$.disqusLoader('#disqus', options);
|
|
|
|
</script>
|