How can I configure custom content in the aside-container within Theme.Layout? #1637
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
The If you customize the content, TOC data cannot be generated during compilation, so the |
Beta Was this translation helpful? Give feedback.
-
|
@Timeless0911 Thank you so much for providing me with another approach. I have successfully achieved the desired effect using
|
Beta Was this translation helpful? Give feedback.


The
componentsprops you current using is usually used to customize HTML elements likeH1,p, ...etc.If you customize the content, TOC data cannot be generated during compilation, so the
Asideis empty. You can simply usebeforeOutlinehook in<Theme.Layout />or you should Redevelop a custom theme sinceAsidecomponent is a built-in component in Layout.