st4ple / solid-jekyll

A Jekyll port of the Solid theme (by blacktie.co).
http://st4ple.github.io/solid-jekyll/
338 stars 449 forks source link

Randomize Related Works? #60

Open Kevin-Middleton opened 7 years ago

Kevin-Middleton commented 7 years ago

On the project page, there's a section underneath for Related Works. The default setting is to show the first 5 related works in descending order:

/_layouts/project.html {% include portfolio.html title="Related Works." limit=5 %}

Is there a way to randomize the projects that appear in this section so that it takes 5 (or however many I set the limit too) random projects (assuming they are related) from the total projects instead of listing the same projects in descending order?