cambiotraining / quarto-course-template

https://cambiotraining.github.io/quarto-course-template/
Other
1 stars 1 forks source link

Can navbar be defined from within `materials` directory? #3

Closed tavareshugo closed 2 years ago

tavareshugo commented 2 years ago

Can the navbar and sidebar be defined from an index.md file in the materials/ directory? This way we can keep the navigation setup separate from the main _quarto.yml file.

This would also be an alternative to sidebar auto generation, which might be inconvenient in some cases.

tavareshugo commented 2 years ago

Yes it can.

This is using the metadata merging feature of Quarto.

This might actually be a better alternative to automatic sidebar generation (it's more flexible and explicit)