alecritson / Placid-Statamic

Consume REST services in your templates
MIT License
54 stars 1 forks source link

Placid REST is passed into page even when inside {{ if }} tags #28

Closed nn-dmt closed 2 years ago

nn-dmt commented 2 years ago

I have a partial setup with the placid code inside of it, and the entire partial is supposed to turn on/off based on an IF condition.

The issue is that placid seems to parse its requests before the IF tags are parsed, so the page will perform the request even though I don't want it to until the IF conditions are met.

nn-dmt commented 2 years ago

maybe it was a caching problem..