Code Monkey home page Code Monkey logo

Comments (4)

AmazingRise avatar AmazingRise commented on July 24, 2024
  1. 建议你具体描述一下网页崩溃的具体现象是什么,你是在哪里添加的(哪个文件),报的什么错误。
  2. 不过没关系,如果你需要添加valine的话,我已经集成了valine评论区了,启用方法请参见文档:https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#valine
  3. 目前的已知bug是script出现在body中可能没法正常渲染,即整个节点会消失,但我觉得你说的不像是这个问题?(这个是Vue造成的)

from hugo-theme-diary.

KaidLi avatar KaidLi commented on July 24, 2024

建议你具体描述一下网页崩溃的具体现象是什么,你是在哪里添加的(哪个文件),报的什么错误。

这个可能是我描述的不够准确。我的意思是我在写一篇文章的时候,我写了这样一段。然后在hugo server预览时,我在预览网站看这篇文章的页面就变成一片白了。

不过没关系,如果你需要添加valine的话,我已经集成了valine评论区了

谢谢!这个我在wiki页面看见了,也把valine启用成功了!👍

目前的已知bug是script出现在body中可能没法正常渲染,即整个节点会消失

我想可能就是这个问题了😂。我把文章里面的这一段代码块删除以后,文章就是可以正常渲染的、显示的。

from hugo-theme-diary.

AmazingRise avatar AmazingRise commented on July 24, 2024
  1. 如果是这样的话,我觉得可能是valine.html里面的问题.不过有一说一, 相对于 Hexo , Hugo 这个模板引擎比较宽松,每个主题的配置方式都不太相同. 如果有啥问题建议多看repo里带的文档. (当然我做开发的时候也是尽量保持主题之间的一致,这样上手成本比较低,这个文档里面也有相关说明)
  2. 能正常启用就好 2333
  3. 至于第三点,具体的现象是添加<script>内容</script>之后,内容会消失,但是不会导致整篇文章渲染不正常. 这个问题先放这吧,如果还有什么很需要但是我没加进来的功能,可以提issue,我会看情况加进来的.
    如果没有问题的话, 你可以关闭这个 issue 了. :)

from hugo-theme-diary.

KaidLi avatar KaidLi commented on July 24, 2024

嗯,好的。我明白了。👌

from hugo-theme-diary.

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.