Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

建议增加文章目录功能 #211

Closed
307590317 opened this issue Mar 10, 2018 · 10 comments
Closed

建议增加文章目录功能 #211

307590317 opened this issue Mar 10, 2018 · 10 comments
Labels
feature:extension Feature request that affects widgets, comment, share, search, and plugins.

Comments

@307590317
Copy link

建议在文章中增加文章目录功能

@dc1y
Copy link

dc1y commented Mar 11, 2018

支持增加文章目录功能,阅读更方便

@ppoffice ppoffice added the feature:general Feature request that affects this theme in general. label Mar 11, 2018
@ppoffice
Copy link
Owner

@307590317
Copy link
Author

没有那种类似fix定位的导航么?这样的话每次就不用返回到顶部去找了

@307590317
Copy link
Author

或者你可以考虑把它移动到
image链接的上面

@dc1y
Copy link

dc1y commented Mar 11, 2018

文章目录最好固定在侧边栏……感谢作者,期待中。

@dc1y
Copy link

dc1y commented Mar 11, 2018

https://github.com/nestattacked/hexo-theme-hueman-nestattacked-version 应该是Fork本项目的,其Demo中已有侧边栏文章目录

@307590317
Copy link
Author

期待加入…… 这样的话就不需要每一个段落结束都加一个top了

@ppoffice
Copy link
Owner

ppoffice commented Mar 11, 2018

现已将目录改为sidebar插件。实现固定定位并不难,难点在于如何权衡它与其它插件的位置。使用固定定位的话,如果用户同时希望使用其它插件,目录必然会对其它插件造成遮盖。对于个人而言,如果确实需要使用固定定位的目录的话,可以自己修改样式表文件并添加JavaScript脚本。

@dc1y
Copy link

dc1y commented Mar 12, 2018

好快,谢谢!
个人觉得进入文章阅读页面后,侧边栏除文章目录外的部件应该可以精简,这样有助于减少干扰让阅读更专注。
而对于首页来说,由于反映的是整个站点的概览,因此侧边栏可以更丰富些。

再次感谢!

@ppoffice ppoffice closed this as completed Apr 5, 2018
@ArturKlauser
Copy link
Contributor

The documentation for the catalog widget is missing in https://github.com/ppoffice/hexo-theme-hueman/wiki/Widgets

@ppoffice ppoffice added feature:extension Feature request that affects widgets, comment, share, search, and plugins. and removed feature:general Feature request that affects this theme in general. labels Jun 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature:extension Feature request that affects widgets, comment, share, search, and plugins.
Projects
None yet
Development

No branches or pull requests

4 participants