Skip to content
Discussion options

You must be logged in to vote

I don't really understand what problems you encounter, but you can implement conditional rendering of content with remark, and yes that affects the TOC. This means you can build the same site into multiple variants based on an env variable for example.

Here's a POC where the same site is built for regular users and admins: #10250

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@SheezZarR
Comment options

@SheezZarR
Comment options

Answer selected by SheezZarR
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