Skip to content

Randomize Related Works? #60

@Kevin-Middleton

Description

@Kevin-Middleton

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions