jerryc127 / hexo-theme-butterfly

🦋 A Hexo Theme: Butterfly
https://butterfly.js.org
Apache License 2.0
6.8k stars 1.24k forks source link

[Feature]: 添加专栏功能 #1468

Closed LittleNyima closed 3 months ago

LittleNyima commented 3 months ago

想要的功能 | What feature do you want?

支持专栏功能,不同于已有的 category 和 tag,专栏文章可以连续阅读,在文章开头显示一个卡片用来导航到专栏目录,在文章的结尾添加专栏内部的上一篇与下一篇文章的导航。(类似微信公众号的 tag)

具体实现或许可以通过在文章的 metadata 中加入一个 column 字段来指定文章是否属于某个专栏。

learnerLj commented 3 months ago

你或许可以学习我这样,我之前提过系列文章的设置 https://github.com/jerryc127/hexo-theme-butterfly/issues/1298 参考: https://blog-blockchain.xyz/pl/understanding-program-analysis/

LittleNyima commented 3 months ago

你或许可以学习我这样,我之前提过系列文章的设置 https://github.com/jerryc127/hexo-theme-butterfly/issues/1298 参考:

https://blog-blockchain.xyz/pl/understanding-program-analysis/

@learnerLj 好的,我参考一下,谢谢

W1ndys commented 3 months ago

如果我没记错的话,Butterfly官方文档就已经实现了这个需求

https://butterfly.js.org/posts/21cfbf15/

W1ndys commented 3 months ago

here? https://butterfly.js.org/posts/4aa8abbe/#series-%E7%B3%BB%E5%88%97%E6%96%87%E7%AB%A0

LittleNyima commented 3 months ago

here? https://butterfly.js.org/posts/4aa8abbe/#series-%E7%B3%BB%E5%88%97%E6%96%87%E7%AB%A0

@W1ndys 的确,这个就是我想要的功能,谢谢