Closed W4J1e closed 3 years ago
提供詳細的資料吧 不要把模板刪掉
top:
- class_name: card-tuiguang
id_name:
name: 特价服务器
icon: fad fa-bookmark
html: <a href="https://curl.qcloud.com/q8pLAlGN"><img src="https://cdn.hin.cool/pic/my/server2.jpg" alt="server"></a>
我是直接复制的文档里的模板然后自己填的内容。
你的butterfly 版本?
版本是3.8.4
我中午回来再比对一下文件,因为平时拉取了dev分支,不是发版了才更新。
对不起对不起,是我的错。我应该是两个分支的commit都在手动所以搞得有些混乱了,今天重新fork了主题仓库然后为hexo新建了子模块,发现有好些地方有出入,不知道是何时可能删掉了layout/includes/widget/card_top_self.pug
。
从今后起我只拉取新版本的更新,给您添麻烦了。
在文档 https://butterfly.js.org/posts/ea33ab97/#%E8%87%AA%E5%AE%9A%E7%BE%A9-widget 自定义侧边栏中,按照文档的区分有top和bottom的区别。如果自定义侧边栏写了top或者bottom,那么该侧边栏会出现但是内容是空白,删掉top之后就正常显示了,请问这可能是一个bug还是直接按照代码框里的写法有误,谢谢。