Coder Social home page Coder Social logo

Comments (12)

jiansing avatar jiansing commented on May 18, 2024

请检查一下「Disqus 代码 URL」这一项设置有没有保存(保存后在 gridea/config/theme.inlineamp.config.json 文件里面能找到 disqusurl )

from gridea-theme-inlineamp.

Tony1026 avatar Tony1026 commented on May 18, 2024

有保存

from gridea-theme-inlineamp.

Tony1026 avatar Tony1026 commented on May 18, 2024

在预览的时候就显示的博客链接

from gridea-theme-inlineamp.

jiansing avatar jiansing commented on May 18, 2024

我好像知道你的问题了,你需要前往 Disqus 管理后台的设置里面,点击 Advanced,在 Trusted Domains 那里添加你的域名。
我使用 1.2.0 版本并没有复现这个 bug,Gridea 的其他主题也有过设置无法生效的问题,如果上述方法无法解决,建议删除主题后重新安装。
正常情况应该能在 theme.inlineamp.config.json 文件里面找到这个
452HZ51krE

from gridea-theme-inlineamp.

Tony1026 avatar Tony1026 commented on May 18, 2024

好像还是不行,我重装一下再试试

from gridea-theme-inlineamp.

Tony1026 avatar Tony1026 commented on May 18, 2024

需要对gridea本身的评论配置进行修改吗

from gridea-theme-inlineamp.

jiansing avatar jiansing commented on May 18, 2024

Gridea 本身的评论配置里只需要平台选择 Disqus,并打开显示评论的开关就可以了

from gridea-theme-inlineamp.

Tony1026 avatar Tony1026 commented on May 18, 2024

下面api、shortname都不需要吗

from gridea-theme-inlineamp.

Tony1026 avatar Tony1026 commented on May 18, 2024

from gridea-theme-inlineamp.

jiansing avatar jiansing commented on May 18, 2024

Gridea 自带的评论配置中平台选择 Disqus,打开显示评论,在主题的自定义配置里填好 Disqus 代码 URL 和 Disqus 子域就可以了。
如果不行的话,将 disqus.ejs 文件中的 <%= site.customConfig.disqus %> 替换为你 disqus 代码 的 URL。

from gridea-theme-inlineamp.

jiansing avatar jiansing commented on May 18, 2024

建议使用 1.2.1 版本,并更新你的 HTML 文件代码:https://gist.github.com/jiansing/b95828a1d288965f3d3d6ba7cd260bc1

from gridea-theme-inlineamp.

Tony1026 avatar Tony1026 commented on May 18, 2024

能用了,感谢

from gridea-theme-inlineamp.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.