Open dixonge opened 8 years ago
Is it documented anywhere about the embed code change? Disqus has had the PAGE_URL
and PAGE_IDENTIFIER
variables for some time now. Unless something has changed they're optional and just help better tie comments to a post in the case you move to a different domain or the URLs change.
ok, cool
FYI, the new Disqus 'Engage' code has 1 requisite parameter and 2 optional ones. If you update the script in comments.html, you might need to change the variables involved. I just replaced it all with code as provided by disqus and wrapped it in
{% if page.comments %}
liquid and it's working fine on two different sites.sitename.disqus.com is something you can get from your Disqus settings page_url and page_identifier I'm not sure about - perhaps something auto-generated by liquid?