aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentineus@gmail.com>2018-04-11 06:02:55 +0300
committerValentin Popov <valentineus@gmail.com>2018-04-11 06:02:55 +0300
commita3b1d203a07ded90e33ab3ddc8eeabf09add16d8 (patch)
tree72e246230cc3b8d1b4f3d1164e7b3570a2df823d
parent07d814b6637987359a114d9eec92bfeb61b382b6 (diff)
downloadpopov.link-a3b1d203a07ded90e33ab3ddc8eeabf09add16d8.tar.xz
popov.link-a3b1d203a07ded90e33ab3ddc8eeabf09add16d8.zip
System of comments
-rw-r--r--_includes/disqus.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/disqus.html b/_includes/disqus.html
index b6973a2..2faadf5 100644
--- a/_includes/disqus.html
+++ b/_includes/disqus.html
@@ -1,8 +1,8 @@
<div id="disqus_thread"></div>
<script type="text/javascript" defer>
var disqus_config = function() {
- this.page.identifier = '{{ page.id | slugify }}';
- this.page.title = '{{ page.title | smartify | strip_html | normalize_whitespace }}';
+ 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() {