node-squarespace-server icon indicating copy to clipboard operation
node-squarespace-server copied to clipboard

{.equal?} Predicate error

Open hortongroup136 opened this issue 9 years ago • 0 comments

When using this equal predicate syntax locally:

{.equal? title "Foo Bar"}Hello World{.end}

Everything prints out the way it should. However, when I push it to the live SQS site I am getting "{.equal? title "Foo Bar"}Hello World" printed out in my layouts.

After searching I came across several people solving this error, and Squarespace themselves recommending, using ":" as a delimiter between args when spaces are present. Unfortunately when I use this syntax locally in my template:

{.equal?:title:"Foo Bar"}Hello World{.end}

The page only prints out [object, object] locally, but does print out the proper data when pushed to the live SQS site.

I am using Node Squarespace Server version 0.5.43.

Any thoughts on how to address this?

hortongroup136 avatar Jul 25 '16 20:07 hortongroup136