Comments (7)
- 使用ready事件则直接爆炸(好像没有被调用?)
需要使用 hexo.on
而不是 hexo.theme.on
另外似乎使用generateBefore
event才能保证config被完整加载
request to reopen this issue
from kratos-rebirth.
直接这么做貌似有个问题
friends.js过程生成过程似乎会调用url_cdn
但是在generateBefore
生成的话,这个cdn helper似乎不会被调用(可能和某些流程的顺序有关)
导致相关tag没被解析出来
这会导致没有指定头像的友联无法显示默认头像
from kratos-rebirth.
已知的问题:
导致友链页面和搜索页面在使用外部配置文件 (已经解决_config.kratos-rebirth.yml
) 的情况下无法生成
from kratos-rebirth.
2. 即使把配置文件放到里面去了,也会导致站点构建时候出现各种怪问题,例如我站现在文章底部的内容丢失掉了 = =
看来这个导致的问题非常严重了
修正:这个是由 Node 版本导致的,旧版不支持 ?.
操作符,建议升级到 v16 及更新的版本。
from kratos-rebirth.
暂时关闭该 issue ,有什么进展会再开启
from kratos-rebirth.
- 使用ready事件则直接爆炸(好像没有被调用?)
需要使用
hexo.on
而不是hexo.theme.on
另外似乎使用generateBefore
event才能保证config被完整加载request to reopen this issue
好的,我试试 🎉
from kratos-rebirth.
成功了!非常感激 💖
from kratos-rebirth.
Related Issues (20)
- 自动检查更新错误 HOT 3
- 原markdown代码块不起作用 HOT 3
- 功能调整: 重做捐赠部分的交互及 UI
- Bug 回报:DevTools 无法加载源映射&博客详情页头像文件404 HOT 2
- Bug 回报:Linux上的谜之启动错误(TypeError: Cannot read properties of undefined (reading 'main')) HOT 7
- 新功能建议: banner和背景图片跟随深色浅色模式切换 HOT 2
- 新功能建议: 能否添加对Twikoo评论系统的访问量统计的支持 HOT 2
- 新功能建议:调整页脚链接的格式 HOT 1
- Bug 回报:每次构建都会报“variable @fa-css-prefix is undefined” HOT 4
- 如何让根目录的索引指向站点目录 HOT 7
- 字数统计的显示问题 HOT 2
- 新功能建议:整理 head 与 after-footer 的额外客制化内容
- 关于从主页点击文章LaTeX失效 HOT 2
- 新功能建议:增加wordcount关闭选项/wordcount字数统计不准确 HOT 3
- 请问怎么修改index页面默认的hexo内容呢 HOT 6
- Bug 回报:与hexo-tag-videojs2的兼容性问题 HOT 1
- 【bug回报】插入mermaid图报错
- 支持接入artalk评论系统 HOT 1
- 新功能建议: (增加畅言评论系统) HOT 2
- 新功能建议: 目录中的一级标题跳转功能 HOT 3
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 kratos-rebirth.