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

侧边栏sidebar中必须要有滚动的组件 #72

Open
baiyi0409 opened this issue Mar 15, 2024 · 0 comments
Open

侧边栏sidebar中必须要有滚动的组件 #72

baiyi0409 opened this issue Mar 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@baiyi0409
Copy link

baiyi0409 commented Mar 15, 2024

侧边栏

sidebar:
widgets: # 需要启用的组件 (profile, category, tag, archive, recent_posts)
normal: # 随页面滚动的组件
- profile
sticky: # 固定在页面顶部的组件
- category
- tag

无法从配置中取消随页面滚动的组件
如果我在配置中不填写,或者注释掉normal部分,或者单个组件,例如profile就无法加载
只能修改对应逻辑代码

我需要当normal或者sticky可以为空

@saicaca saicaca added the bug Something isn't working label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants