Debugging Jekyll

February 10, 2016

tldr; - Use inspect as a filter, like below;

<%= <variable> | inspect %>

I’ve recently spent a lot of time within Jekyll in the hope that given my site some much need attention will get my blogging again. I was really pleased to find that the inspect filter has finally be implemented in Jekyll. This has been a long time coming for me, before this I was using <variable> | json. However the documentation is pretty sparce.

Comments

comments powered by Disqus