-
|
Hello everyone, I made multi-blogs, and eject |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Not documented but you could use the useRouteContext() hook that we use internally It gives you the plugin name/id that created a given route |
Beta Was this translation helpful? Give feedback.
-
|
Btw if you really want to have different layout implementations that's more significant than a single condition, the blog plugin allows you to configure the top-level components for each type of page. See https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog#blogListComponent |
Beta Was this translation helpful? Give feedback.
Not documented but you could use the useRouteContext() hook that we use internally
#6933
It gives you the plugin name/id that created a given route