Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Randomize Related Works? #60

Open
Kevin-Middleton opened this issue Jul 8, 2017 · 0 comments
Open

Randomize Related Works? #60

Kevin-Middleton opened this issue Jul 8, 2017 · 0 comments

Comments

@Kevin-Middleton
Copy link

Kevin-Middleton commented Jul 8, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants