Debugging liquid tags in Octopress / Jekyll

Any ideas on how to see where the liquid marks actually flow?

To be more clear, I am having problems with the plugin, and everything that I see when previewing my site,

Liquid Error: can’t convert Array into String

On my site. How to get additional debugging information? Thanks

+5
source share
1 answer

Try running rake generation with -trace for more details.

rake generate --trace

As a rule, it gives exactly where the error will increase. Then just print some variables or use debugger for debugging.

This blog may be helpful.

+3
source

All Articles