I want to add the ability to do a date check inside a CMS Static Block. Something like this:
{{if date == '2015-12-25'}}Merry Christmas!{{else}}It's not Christmas{{/if}}
However, I'm not sure how to introduce new functionality like this. I haven't been successful even using {{if}}
statements like this with existing variables.
Some pointers on getting {{if}}
statements working, and adding custom variables which can be accessed this way should be enough. I can populate said variable with the date pretty easily.