2019-09-30 15:38:41 +03:00
|
|
|
<!--
|
|
|
|
The Disqus lazy loading.
|
2021-01-23 10:07:18 +03:00
|
|
|
Powered by: <https://github.com/osvaldasvalutis/disqusLoader.js>
|
2019-09-30 15:38:41 +03:00
|
|
|
-->
|
|
|
|
|
2020-07-29 23:58:05 +03:00
|
|
|
<div id="disqus" class="pt-2 pb-2">
|
2021-02-02 00:08:38 +03:00
|
|
|
<p class="text-center text-muted small pb-5">
|
2021-01-23 10:07:18 +03:00
|
|
|
Loading comments from <a href="https://disqus.com/">Disqus</a> ...
|
2020-07-29 23:58:05 +03:00
|
|
|
</p>
|
2019-09-30 15:38:41 +03:00
|
|
|
</div>
|
|
|
|
|
2021-01-18 18:27:43 +03:00
|
|
|
<script src="{{ '/assets/js/lib/jquery.disqusloader.min.js' | relative_url }}"></script>
|
2019-09-30 15:38:41 +03:00
|
|
|
<script>
|
2021-01-23 10:07:18 +03:00
|
|
|
const options = {
|
2019-09-30 15:38:41 +03:00
|
|
|
scriptUrl: '//{{ site.disqus.shortname }}.disqus.com/embed.js',
|
|
|
|
|
|
|
|
disqusConfig: function() {
|
2021-01-23 10:07:18 +03:00
|
|
|
this.page.title = '{{ page.title }}';
|
2021-01-18 18:27:43 +03:00
|
|
|
this.page.url = '{{ page.url | absolute_url }}';
|
2019-09-30 15:38:41 +03:00
|
|
|
this.page.identifier = '{{ page.url }}';
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
$.disqusLoader('#disqus', options);
|
2021-01-18 18:27:43 +03:00
|
|
|
</script>
|