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

文章页面目录遮挡侧边栏 #21

Open
lesoleil opened this issue Apr 24, 2017 · 2 comments
Open

文章页面目录遮挡侧边栏 #21

lesoleil opened this issue Apr 24, 2017 · 2 comments

Comments

@lesoleil
Copy link

在阅读文章时,目录遮挡侧边栏,影响美观,能否考虑在阅读文章时将侧边栏移除,或者将目录移至左侧,

@ghost
Copy link

ghost commented Feb 5, 2018

在 Front-matter 加入 toc: false 即可. (ps: Front-matter 是文件最上方以 --- 分隔的区域,用于指定个别文件的变量)

然后你的 Front-matter 应该看起来像这样:

---
title: Hello World
date: 2018-01-31 16:52:59
tags:
toc: false
---

@frezoow
Copy link

frezoow commented Apr 24, 2019

隐藏就失去可快速跳转的文章目录了,当文章内容很多的时候,这个功能还是很好用的。求在正文中把侧边栏移除的方法

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

2 participants