Replies: 1 comment 2 replies
-
You need to define all the sidebars in |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I would like to create a website that works like a portal (meaning aggregating subsites).
The portal has sections like 'Datasets', 'Dashboards', .... and each section of the portal lists
index.qmd
files inside their directories. Neither the portal nor the listing sections have sidebars. But when I select a link in the listing, I go to asubsite
, somewhere like 'Datasets/my-latest-project/index.qmd' with its own sidebar.I think I need a sidebar instead of a TOC navigation because each subpage of the subsite has its own toc and shouldn't be seen from the subsite/index.qmd TOC.
I wanted to specify the sidebar contents locally in each subsite subdirectory. Using
quarto-web
as an example, each section will be a listing like the Blog section and each link will direct to a subsite that will be similar to theReferences
section.Reading
quarto-web
code, I notice theReferences
section has its sidebar defined in the root _quarto.yml and again in a _reference.yml which I believe is used only for automatically creating links in its /docs/reference/index.qmd page.Isn't there a way to add the sidebar information in a subdirectory
_metadata.yml
file? Is there an example of something like what I am looking for?Beta Was this translation helpful? Give feedback.
All reactions