New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disqus 不能load的一种可能分析和解决方案 #876
Comments
你的站点配置文件里的 |
站点配置文件的url我是留空的,因为不确定应该填什么。升级主题以前那里也是留空的,但是disqus没有出现问题。所以现在这个情况比较不解 : ) |
我会把 |
噢,对了,你的问题可能是应该是
|
好 谢谢答疑 :) |
加上站点配置文件 url 域名以后就正常了 |
我用的最新版 NexT.Pisces v5.1.3,正确配置了Disqus,也确定文章前部分的format正确,为什么有的文章可以正常加载显示出Disqus,而有些文章不能加载出Disqus。 |
我也是有一样的问题, 前面几篇文章的disqus 可以显示, 后面的文章不能加载disqus |
url配置ip可以吗 |
更新主题以后,disqus在新建的post上无法load,但是以前的post上load正常
网上的一个文章 http://webcache.googleusercontent.com/search?q=cache:UnY-n6LaBqgJ:www.xlgps.com/article/171989.html+&cd=6&hl=zh-CN&ct=clnk&gl=se
给了我启发。
于是我更改了主题 layout script
disqus.swig 中的disqus_url 为自己的域名,于是问题解决了。
我觉得这可能是个潜在的bug
//////////////////////////////////////////////////////////////////////////////
{% if not (theme.duoshuo and theme.duoshuo.shortname) and not theme.duoshuo_shortname %}
{% if theme.disqus_shortname %}
{% endif %}
{% endif %}
The text was updated successfully, but these errors were encountered: