[改进]修复sidebar_root_menu: false的相关问题 - #43
Merged
Merged
Conversation
… sidebar_root_menu: false 也无法从侧边栏下拉卡片列表中隐藏该条目。当前在第二个循环中补充了 (ne .Params.sidebar_root_menu false) 判断,使 sidebar_root_menu: false 对两类来源均生效。
Vonng
added a commit
that referenced
this pull request
Sep 19, 2026
Preserve PR #43 and cover root-menu exclusions. Centralize sidebar disclosures and isolate hidden navigation; keep pointer reading focus quiet; retain group-only child navigation and publication output; add a bounded search-tail registration API. Refs #40, #41, #42, #44. Bilingual contracts and browser acceptance live in the sibling documentation repository.
Member
|
Thanks for the focused fix, @MagicFollower! Your PR has been merged and is included in v1.1.0. Explicit Thank you for contributing to OINK! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
【解决的问题】
主题原版 root-menu-roots.html 在收集「自根页面」时未检查 sidebar_root_menu 字段,
导致即使设置了 sidebar_root_menu: false 也无法从侧边栏的下拉卡片列表中隐藏该条目。
本覆盖文件在第二个循环中补充了 (ne .Params.sidebar_root_menu false) 判断,
使 sidebar_root_menu: false 对两类来源均生效。
↓
本次修复会使得下面配置中的
sidebar_root_menu: false生效