Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is great. I've found myself frustrated by the Liquid templating system, though. For instance, the print was inserting a line break that was messing with meta tags on my website.


Could you speak more about the things you dislike in Liquid? It's one of my favorite templating systems, especially if you're treating it in the same way as you would mustache templates, i.e., using a view-model or decorator to prep data from a model. If you're using a lot of `assign` or `capture` tags, it's horrible.


Specifically, the error I couldn't figure out how to remedy was the line break caused by the included statement that was in this commit:

https://github.com/philipithomas/www.philipithomas.com/commi...


I wonder if the reason you were having trouble with Liquid is that you were using it incorrectly. It's definitely meant to be secure over simple. Was the issue you were having a bug or did you find a way to fix the encoding?


See the below comment, but it was the "include" here causing a line break that I couldn't figure out:

https://github.com/philipithomas/www.philipithomas.com/commi...




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: