Skip to content

Commit

Permalink
Add isFeatured flag for projects included in the "/featured" page
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrambeau committed Aug 11, 2023
1 parent eefe221 commit 21ed153
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cli/tasks/projects/build-projects-files.task.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ const readProject = ({ starStorage }) => async project => {
data.aliases = project.aliases;
}

// Flag assigned to projects included in the "/featured" page
if (project.status === 'featured') {
data.isFeatured = true;
}

return {
data,
meta: {
Expand Down

1 comment on commit 21ed153

@vercel
Copy link

@vercel vercel bot commented on 21ed153 Aug 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.