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

希望能为post的文章单独控制auto_open_sideba #232

Closed
yanhuacuo opened this issue May 20, 2020 · 1 comment
Closed

希望能为post的文章单独控制auto_open_sideba #232

yanhuacuo opened this issue May 20, 2020 · 1 comment
Labels
enhancement New feature or request Plan Added in future versions

Comments

@yanhuacuo
Copy link

yanhuacuo commented May 20, 2020

auto_open_sideba 现在是写在主题文件中,全局控制的。
auto_open_sideba 可以提供很好的大纲预览功能
但是,在短小的文章中,auto_open_sideba 意义不大。
可是在长文中,auto_open_sideba就很有意义。
希望可以提供 auto_open_sideba 在 post 内的独立控制权限,为不同的文章作不同预设。
不知道这个实现起来是否困难?
比如在文章表头中,加入控制参数之类?

---
auto_open_sidebar:
  enable: true
layout: post
mathjax: true
title: 醉春风
categories: [小说]
tags: [第一卷]
excerpt: 醉春风
---
@jerryc127 jerryc127 added enhancement New feature or request Plan Added in future versions labels May 21, 2020
@jerryc127
Copy link
Owner

aa8c509

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Plan Added in future versions
Projects
None yet
Development

No branches or pull requests

2 participants