3 ms·
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 me
by philip1209 13y ago
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.
- straws 13y agoCould 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.
- philip1209 13y agoSpecifically, 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/commit/62c76ce7eaf23fff3049934012a027976fb92d81 https://github.com/philipithomas/www.philipithomas.com/commi...
- homosaur 13y agoI 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?
- philip1209 13y agoSee 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/commit/62c76ce7eaf23fff3049934012a027976fb92d81 https://github.com/philipithomas/www.philipithomas.com/commi...