Hello,
I found the following problem for the first time after months of use,
In some posts, if I write a comment, it also comes out in others.
It seems that the posts in question are always the same.
This is the code I implemented in the tags {{#post}} and closing {{/ post}} block on post.hbs file:
<Script>
var disqus_config = function () {
this.page.url = '{{url absolute = "true"}}';
this.page.identifier = "ghost - {{comment_id}}";
};
(function () {// DO NOT EDIT BELOW THIS LINE
var d = document, s = d.createElement ('script');
s.src = 'https: //*****.disqus.com/embed.js';
s.setAttribute ('data-timestamp', + new Date ());
(d.head || d.body) .appendChild (s);
}) ();
</ Script>
<noscript> Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript"> comments powered by Disqus. </a> </ noscript>
These are the values that I have extrapolated from two posts that give me this problem:
If I write a comment in this post:
id="dsq-app8766" name="dsq-app8766" src="https://disqus.com/embed/comments/?base=default&f=EXAMPLE&t_i=ghost-20&t_u=https%3A%2F%2Fdomain.it%2Fcome-installare-wordpress-nginx-php7-phpmyadmin-ubuntu%2F&t_d=Come%20installare%20Wordpress%20con%20Nginx%20PHP7%20e%20phpMyAdmin%20su%20Ubuntu%2016.04&t_t=Come%20installare%20Wordpress%20con%20Nginx%20PHP7%20e%20phpMyAdmin%20su%20Ubuntu%2016.04&s_o=default#version=6cb1727739307bf00a7ad3423d8f0b2a"
It also comes out in this:
id="dsq-app3028" name="dsq-app3028" src="https://disqus.com/embed/comments/?base=default&f=EXAMPLE&t_i=ghost-5ae5ea1bbaaed86338939473&t_u=https%3A%2F%2Fomain.it%2Fcome-configurare-ufw-firewall-su-ubuntu-18-04-lts%2F&t_d=Come%20configurare%20UFW%20Firewall%20su%20Ubuntu%2018.04%20LTS&t_t=Come%20configurare%20UFW%20Firewall%20su%20Ubuntu%2018.04%20LTS&s_o=default#version=6cb1727739307bf00a7ad3423d8f0b2a"
If I’m not mistaken, this is the "ghost-{{comment_id}}"
it’s different, I should not have problems:
ghost-20
ghost-5ae5ea1bbaaed86338939473
I’m using Ghost last version
What can the problem depend on?
Thank you