25 lines
692 B
HTML
25 lines
692 B
HTML
<!--
|
|
The Disqus lazy loading.
|
|
Powered by: <https://github.com/osvaldasvalutis/disqusLoader.js>
|
|
-->
|
|
|
|
<div id="disqus" class="pt-2 pb-2">
|
|
<p class="text-center text-muted pb-5">
|
|
Loading comments from <a href="https://disqus.com/">Disqus</a> ...
|
|
</p>
|
|
</div>
|
|
|
|
<script src="{{ '/assets/js/lib/jquery.disqusloader.min.js' | relative_url }}"></script>
|
|
<script>
|
|
const options = {
|
|
scriptUrl: '//{{ site.disqus.shortname }}.disqus.com/embed.js',
|
|
|
|
disqusConfig: function() {
|
|
this.page.title = '{{ page.title }}';
|
|
this.page.url = '{{ page.url | absolute_url }}';
|
|
this.page.identifier = '{{ page.url }}';
|
|
}
|
|
};
|
|
|
|
$.disqusLoader('#disqus', options);
|
|
</script>
|