How to dynamically build sidebars using frontmatter #1416
-
👋 I want different sidebars based on different navs. For example, I have 3 different products on my site, and so I want 3 different sidebars — each being unique for that product. I can store the name of the sidebar in the page frontmatter but I’m not sure how I can pass that value into the sidebar function in Thank you 🙏 |
Beta Was this translation helpful? Give feedback.
Answered by
emersonbottero
Sep 30, 2022
Replies: 1 comment
Answer selected by
audreyshub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/Stuyk/vitepress-sidebar-builder