Skip to content

How can I configure custom content in the aside-container within Theme.Layout? #1637

Closed Answered by Timeless0911
xi-mad asked this question in Q&A
Discussion options

You must be logged in to vote

The components props you current using is usually used to customize HTML elements like H1, p, ...etc.

If you customize the content, TOC data cannot be generated during compilation, so the Aside is empty. You can simply use beforeOutline hook in <Theme.Layout /> or you should Redevelop a custom theme since Aside component is a built-in component in Layout.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by xi-mad
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants