Code Monkey home page Code Monkey logo

Comments (2)

doorOfChoice avatar doorOfChoice commented on June 26, 2024 2

问题已经解决,谢谢题主,希望写出更多优质主题~😄

from hugo-theme-dream.

g1eny0ung avatar g1eny0ung commented on June 26, 2024

🤣 感谢提出这个好致命的问题。。

出现这个bug的原因是,由于页面是分为两部分的,front和back,但是两个部分是在同一个html内。front就是页面的主体,back则是相当于about页面,通过左上角的翻转按钮来展现。

所以当页面是文章页面,也就是url路径是post/something的时候,之前没有做一些逻辑判断,就出现了两个disqus评论区域,导致设置为了同一disqus thread,也就是back的disqus的设置生效了,然后就出现了无论在哪里评论都是相同的评论的问题。。

还有一点就是,disqus不能在同一个页面创建两个disqus评论,所以目前在文章页面是看不了关于页面的评论的,也算是主题的一个缺点吧。

现在已经修复了~拉取一下更新再重新发布一下就ok了 😃

from hugo-theme-dream.

Related Issues (20)

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.