You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Blog post which lists/links all liquidjs filters and maybe the Nunjucks equivalents (if any).
I was working on something for this, where it had liquid vs nunjucks, but it turned out too much like the documentation. Might need to try cleaning it up and checking it in, in a semi-messy state for iterating on.
I was initially thinking 7 top level pages: array, date, html, math, object, string, and url; and then subnav on that index page to the individual examples. It started breaking down because it felt like I was mirroring documentation too much, and it was confusing having nunjucks#compact, which was a polyfill, but not entirely obviously so. Confusingly, I can't even find Liquid's compact filter below, but was pretty sure it was working.
Still needs a lot of cleanup, and maybe porting some examples from the liquidjs site into the templates.
And add more context around which filters are unavailable in Nunjucks, or might have different names, etc. Not sure if it makes sense to write on how to port some of these examples from liquidjs to nunjucks, or if that's a bit too far and we handle those conversions on a filter by filter basis and link from the above repo to individual blog posts showing the liquified nunjucks filters.
Related to #11
Blog post which lists/links all liquidjs filters and maybe the Nunjucks equivalents (if any).
I was working on something for this, where it had liquid vs nunjucks, but it turned out too much like the documentation. Might need to try cleaning it up and checking it in, in a semi-messy state for iterating on.
I was initially thinking 7 top level pages: array, date, html, math, object, string, and url; and then subnav on that index page to the individual examples. It started breaking down because it felt like I was mirroring documentation too much, and it was confusing having
nunjucks#compact
, which was a polyfill, but not entirely obviously so. Confusingly, I can't even find Liquid'scompact
filter below, but was pretty sure it was working.liquidjs filters
https://github.com/harttle/liquidjs/wiki/Builtin-Filters
By category:
array:
date:
html:
math:
object:
string:
url:
The text was updated successfully, but these errors were encountered: