Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文章目录不显示 #85

Open
feichaoyu opened this issue Jan 15, 2020 · 6 comments
Open

文章目录不显示 #85

feichaoyu opened this issue Jan 15, 2020 · 6 comments

Comments

@feichaoyu
Copy link

image

@flysnoworg
Copy link
Collaborator

##两个写目录

@jdhao
Copy link

jdhao commented Jan 19, 2020

@feichaoyu 用的是不是最新的 Hugo 版本?Hugo 0.6 以后,默认从 level 2 的 heading 开始渲染,参见 这里,可以在 config.toml 文件加上以下设置,更改默认行为:

[markup]
  [markup.tableOfContents]
    endLevel = 4
    startLevel = 1

@BianChengNan
Copy link

##两个写目录

我也遇到这个问题了,是用 ## 写的。跟 @feichaoyu 遇到的问题是一样的。
and 能不能自动根据文字宽度确定一个目录宽度啊?很多时候已经显示不全了。

error

@sanbeichahegongheguo
Copy link

image
目录显示成这个样子,咋用?

@sanbeichahegongheguo
Copy link

不显示文章目录

握手。

@sanbeichahegongheguo
Copy link

不显示文章目录

握手。
配置好了 
https://aquarian-age.github.io/post/openSUSE%E5%AE%89%E8%A3%85%E5%AA%92%E4%BD%93%E8%A7%A3%E7%A0%81%E5%99%A8/

咋搞定的?我看了你的博客了。
我是后来干脆直接换了个主题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants