If a variable
fruit has the value
apple it will affect the grammar.
"Do you want an apple?"
"Do you want a pear?"
This could be part a longer text that contains just a few places where the content should depend on a certain value.
What is the recommended strategy for handling this kind of logic? Do people embed code in the templates from Prismic and parse in when for example a gatsby site is generated? Or do they add more fields in their CMS-content types? Or what?
Thx for input!