Daisyblocks官方主题问题 #172
Unanswered
cloudsummer
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
感谢反馈,已经在 https://www.halo.run/store/apps/app-WgWHe/releases/app-release-j9nkw9as 中修复。 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
主题有bug,显示不了配色

原因是 Daisyblocks 主题的配置文件里,把配色缩略图的图片路径写成了别的主题 theme-walker,所以后台加载这些图片时全是 404。实际文件在 Daisyblocks 自己主题里,正确路径应该是 /themes/theme-daisyblocks/assets/settings/*.png。出问题的文件/root/.halo2/themes/theme-daisyblocks/settings.yaml
我自己修复了,简单总结:
问题原因是 Daisyblocks 主题后台配色缩略图引用了错误路径,页面实际请求的是 /themes/theme-walker/assets/
settings/*.png,但容器里没有这个主题目录,所以显示成问号。
我做了两步修复:
theme-walker -> theme-daisyblocks
结果是旧路径和新路径现在都能正常返回图片,后台配色图可以显示。
修复后:

Beta Was this translation helpful? Give feedback.
All reactions