Comments (10)
from hexo-theme-pln.
暂时没有支持目录的想法。。。
@JayceLau @pingeek007
from hexo-theme-pln.
@gaoryrt 有思路吗?说说思路,我看下我能不能搞出来。
from hexo-theme-pln.
同意!好像确实没看见TOC
from hexo-theme-pln.
找到一个比较挫的方法,在article.ejs中加入
<%- toc(page.content) %>
唯一的问题就是,这个toc是显示在文章顶部,往下拉的时候就不见了。最好的效果是显示在左侧。
要显示在左侧就需要跟右侧显示的那个一样,需要写css,这个还不是太懂。
from hexo-theme-pln.
@navono 问题就是不晓得目录放在哪里比较好看。。。
from hexo-theme-pln.
@gaoryrt 左侧嘛。放左侧需要和关闭按钮重新设计一下。如果硬塞进去会和关闭按钮有点格格不入。
from hexo-theme-pln.
或者在关闭按钮下面再弄个nav按钮,点击从左侧动态弹出显示toc。可以浮动。
from hexo-theme-pln.
同,希望开发者有空能一个toc模块,不是固定也ok
from hexo-theme-pln.
做了个临时版的,有问题的话就新开 issue 吧
@JayceLau @pingeek007 @navono @pwxcoo @willmasters
from hexo-theme-pln.
Related Issues (20)
- 左上角无法显示logo和图标 HOT 6
- 搜索 HOT 2
- 存档无法显示所有文章 HOT 2
- 添加一个演示链接 HOT 2
- 代码片段会对不齐 HOT 9
- 关闭按钮没有显示出来 HOT 4
- conflict with .back button & side navigation bar HOT 2
- TOC bug? HOT 6
- 部署后搜索不起作用 HOT 3
- 不支持有序列表吗? HOT 4
- UV/PV统计是否出现了异常? HOT 2
- 搜索如何启用? HOT 2
- 貌似没有对latex语法的支持 HOT 5
- 这个只有分类没有tag标签的么 HOT 1
- 无序列表显示问题 HOT 3
- 资源引用方式应该使用相对路径|解决博客放到子目录的问题 HOT 3
- 部署子目录时,生成的分页链接仍旧没有带上子路径 HOT 1
- disqus comments unfold style error HOT 1
- feature request: all contributors HOT 21
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 hexo-theme-pln.