+[2019-04-25T19:01:36Z]furytrying to set up a jekyll docker image, with some grunt tasks to pre-generate responsive images. having some trouble getting these node modules to stick around somewhere - /srv/jekyll/node_modules seems to get blown away right after i run yarn install +[2019-04-25T19:02:14Z]furybut if i put them somewhere else in the image, then the grunt task refuses to run because it's not local to the project +[2019-04-30T23:26:23Z]CraniteHey so I'm having a problem with array sorting in Liquid, is there a way to sort an array based on an element's properties? The example being that I'm sorting through a list of groups that have members, the list of groups is a collection and each group has a members list. I would like to sort the list of groups by how many members it has, so larger groups get shown first. +[2019-04-30T23:27:33Z]CraniteThe current code I have for it is as follows: {% assign groups = site.groups | sort: "members | size" %} +[2019-04-30T23:27:45Z]CraniteBut it doesn't seem to work, though it does... compile?
But it doesn't seem to work, though it does... compile?
+[2019-05-01T01:54:57Z]CraniteHello? +[2019-05-01T01:58:10Z]cryptic0yallow +[2019-05-01T02:04:12Z]CraniteDo you know much about array sorting in Liquid? +[2019-05-01T02:12:04Z]cryptic0Cranite https://help.shopify.com/en/themes/liquid/filters/array-filters +[2019-05-01T02:12:33Z]CraniteAh you joined after I asked my first question