Comments (4)
- 建议你具体描述一下网页崩溃的具体现象是什么,你是在哪里添加的(哪个文件),报的什么错误。
- 不过没关系,如果你需要添加valine的话,我已经集成了valine评论区了,启用方法请参见文档:https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#valine
- 目前的已知bug是script出现在body中可能没法正常渲染,即整个节点会消失,但我觉得你说的不像是这个问题?(这个是Vue造成的)
from hugo-theme-diary.
建议你具体描述一下网页崩溃的具体现象是什么,你是在哪里添加的(哪个文件),报的什么错误。
这个可能是我描述的不够准确。我的意思是我在写一篇文章的时候,我写了这样一段。然后在
hugo server
预览时,我在预览网站看这篇文章的页面就变成一片白了。
不过没关系,如果你需要添加valine的话,我已经集成了valine评论区了
谢谢!这个我在wiki页面看见了,也把valine启用成功了!👍
目前的已知bug是script出现在body中可能没法正常渲染,即整个节点会消失
我想可能就是这个问题了😂。我把文章里面的这一段代码块删除以后,文章就是可以正常渲染的、显示的。
from hugo-theme-diary.
- 如果是这样的话,我觉得可能是valine.html里面的问题.不过有一说一, 相对于 Hexo , Hugo 这个模板引擎比较宽松,每个主题的配置方式都不太相同. 如果有啥问题建议多看repo里带的文档. (当然我做开发的时候也是尽量保持主题之间的一致,这样上手成本比较低,这个文档里面也有相关说明)
- 能正常启用就好 2333
- 至于第三点,具体的现象是添加
<script>内容</script>
之后,内容会消失,但是不会导致整篇文章渲染不正常. 这个问题先放这吧,如果还有什么很需要但是我没加进来的功能,可以提issue,我会看情况加进来的.
如果没有问题的话, 你可以关闭这个 issue 了. :)
from hugo-theme-diary.
嗯,好的。我明白了。👌
from hugo-theme-diary.
Related Issues (20)
- The dividing line moves left and right. HOT 2
- How do you add images to the categories? HOT 6
- would you please add a visiting stats banner at the most left bottom ? HOT 2
- Question about adding an author for posts HOT 4
- 是否可以考虑使用此字体 HOT 1
- 夜间模式下看不见表格内容 HOT 2
- images not displaying HOT 2
- Dark mode refactor HOT 4
- Single quote is replaced with ’ HOT 6
- How to add RSS feed? I don't understand where to add rss link. HOT 3
- Google Analytics 4 will be replaced by Universal Analytics HOT 3
- Way to remove the darkmode toggle? HOT 1
- The About page appears on the homepage article list HOT 2
- <br> new line is not supported in this theme? HOT 1
- Summary feature required
- Can you add Artalk comment function?
- Language meta label and <h1> needed for better SEO HOT 2
- Drawers are not hidden when clicking ToC items on mobile view. HOT 1
- Fix highlighting
- 作者能麻烦您考虑一下加上视频播放功能吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-theme-diary.