kitajchuk / node-squarespace-server

DEPRECATED! A local Squarespace development server in node.js.
MIT License
186 stars 26 forks source link

{.equal?} Predicate error #197

Open hortongroup136 opened 8 years ago

hortongroup136 commented 8 years ago

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?