由于多說的頭像不支持https,以及UI不好看,經(jīng)過一番折騰,最終決定將評論系統(tǒng)轉(zhuǎn)至disqus
博客使用hexo的next主題搭建,根據(jù)next作者的文檔進(jìn)行配置,但是在從多說切換至disqus后,博客頁面的評論始終無法顯示,disqus顯示無法加載,頁面顯示
We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
問題產(chǎn)生原因及解決辦法
產(chǎn)生原因: 沒有配置hexo的站點(diǎn)url。hexo Configuration _(配置文件為站點(diǎn)根目錄下的config.yml)
解決方案: 根據(jù)文檔提示填寫站點(diǎn)url即可,如http://tianle.me
例:
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://tianle.me
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
參考
disqus 不能load的一種可能分析和解決方案
多說評論導(dǎo)入DISQUS