If I have page content where I want to allow the content editors to conditionally show information based on the value of a function.
How do I give users a means of 'wrapping' content in a conditional?
For example, they may have a section that is only displayed if the user's last name is 'Bloggs', but that section may have nested items, so it's not as simple as a text content property.
Is there a way to embed the page content editor inside a razor function?
How do I give users a means of 'wrapping' content in a conditional?
For example, they may have a section that is only displayed if the user's last name is 'Bloggs', but that section may have nested items, so it's not as simple as a text content property.
Is there a way to embed the page content editor inside a razor function?