Skip to content

How do make sidebar apply only to a specific page #12671

Closed Answered by haxfn
haxfn asked this question in Q&A
Discussion options

You must be logged in to vote

think you have to explicitly opt out of the sidebar for each pages in the content using sidebar: false

ok, I guessed so.

I don't think you can and I must say I don't even understand why the content of a sidebar would not have the sidebar even though the sidebar is there to navigate through its content.

I don't want sub pages to have inter-navigation, i want the subpages to hyperlink to root for navigation.

So, the flow is: define sidebar with id in _quarto.yml . but just defining sidebar won't show it on the children pages. for that you need to write sidebar: id-name atleast in one child page's frontmatter?

I mean for example if I remove sidebar: gyan from index.qmd, although I still …

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
10 replies
@mcanouil
Comment options

mcanouil May 3, 2025
Collaborator

@haxfn
Comment options

@mcanouil
Comment options

mcanouil May 3, 2025
Collaborator

@haxfn
Comment options

Answer selected by haxfn
@haxfn
Comment options

Comment options

You must be logged in to vote
2 replies
@haxfn
Comment options

@haxfn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
websites Issues creating websites
2 participants