Hi there,
For a project, I’ve created global fields like “maximum respond date,” “average shipping date,” and “fee,” etc. in site.yml
Now, I need to build out the terms and conditions, as well as some legal pages, and reference these variables throughout the text.
In the legal.yml file, I have a text area.
My question is: how can I ensure that {{ site.shipping_date }} is populated with the actual value?
For example, here’s what my panel text looks like:
We are pleased to inform you that your order will be shipped by {{ site.shipping_date }}. Please ensure that you are available for delivery on or after this date. Thank you for choosing us!
However, I’m having trouble figuring out how to get it to display the actual value. I perfectly can see all the markup bold, italic, lists, etc… but not the actual Shipping_date or other variables.
In my legal.php file, I’m using, so it keeps the styling of the textarea:
<?= $page->text()->kt() ?>
Any insights would be greatly appreciated!
Thanks.