diff options
author | Valentin Popov <info@valentineus.link> | 2018-04-22 23:54:54 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-04-22 23:54:54 +0300 |
commit | c8a5749a198d6243aadcfdcb6c4c6c297d46c6ad (patch) | |
tree | be7914d8280d4298eeda65bd10b4797fc9b033dd /_includes/disqus.html | |
parent | 48b51b68764273ed97e24e7f8a92dde844eda30e (diff) | |
download | popov.link-c8a5749a198d6243aadcfdcb6c4c6c297d46c6ad.tar.xz popov.link-c8a5749a198d6243aadcfdcb6c4c6c297d46c6ad.zip |
Commenting system
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes/disqus.html')
-rw-r--r-- | _includes/disqus.html | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/_includes/disqus.html b/_includes/disqus.html index 2faadf5..267e41d 100644 --- a/_includes/disqus.html +++ b/_includes/disqus.html @@ -1,15 +1,18 @@ -<div id="disqus_thread"></div> -<script type="text/javascript" defer> - var disqus_config = function() { - this.page.identifier = '{{ page.id | strip_newlines | strip_html | strip | normalize_whitespace | slugify }}'; - this.page.title = '{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}'; - this.page.url = '{{ page.url | absolute_url | uri_escape }}'; +<div class="comments"> + <div id="disqus_thread"></div> + <script type="text/javascript" defer> + var disqus_config = function () { + this.page.identifier = '{{ page.id | strip_newlines | strip_html | strip | normalize_whitespace | slugify }}'; + this.page.title = '{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}'; + this.page.url = '{{ page.url | absolute_url | uri_escape }}'; }; - (function() { - var d = document, - s = d.createElement('script'); - s.src = '//valentineus-link.disqus.com/embed.js'; - s.setAttribute('data-timestamp', +new Date()); - (d.head || d.body).appendChild(s); + + (function () { + var d = document, + s = d.createElement('script'); + s.src = '//valentineus-link.disqus.com/embed.js'; + s.setAttribute('data-timestamp', +new Date()); + (d.head || d.body).appendChild(s); })(); -</script> + </script> +</div> |